mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Scenario: Duplicate: Fix data traversal and duplicate method.
This commit is contained in:
1 parent
9043b6e2a3
commit
303f6bb35b
5 files changed
+35
-3
No files matched your search
@@ -99,6 +99,13 @@ class Reach(SQLSubModel):
|
||||
|
||||
return ok
|
||||
|
||||
def _data_traversal(self,
|
||||
predicate=lambda obj, data: True,
|
||||
modifier=lambda obj, data: None,
|
||||
data={}):
|
||||
for p in self._profiles:
|
||||
p._data_traversal(predicate, modifier, data)
|
||||
|
||||
def profile(self, i):
|
||||
"""Returns profile at index i
|
||||
|
||||
|
||||
Reference in new issue
Block a user