Use operation prefix
This commit is contained in:
@@ -137,7 +137,7 @@ def inp_in_reservoir(section: list[str]) -> ChangeSet:
|
||||
if s.startswith(';'):
|
||||
continue
|
||||
obj = InpReservoir(s)
|
||||
cs.append({'operation': API_ADD, 'type': 'reservoir', 'id': obj.id, 'head': obj.head, 'pattern': obj.pattern})
|
||||
cs.append(g_add_prefix | {'type': 'reservoir', 'id': obj.id, 'head': obj.head, 'pattern': obj.pattern})
|
||||
return cs
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user