Commit 2c654468 authored by Jérome Perrin's avatar Jérome Perrin

Workflow: don't use deprecated getParent()

parent 62ae7291
Pipeline #32645 failed with stage
in 0 seconds
...@@ -696,7 +696,7 @@ class Workflow(XMLObject): ...@@ -696,7 +696,7 @@ class Workflow(XMLObject):
return {} return {}
def _getStatusOf(self, ob): def _getStatusOf(self, ob):
tool = self.getParent() tool = self.getParentValue()
status = tool.getStatusOf(self.getId(), ob) status = tool.getStatusOf(self.getId(), ob)
if status is None: if status is None:
return {} return {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment