mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-30 19:56:20 +00:00
Fix FutureWarning in SpiffWorkflow (#16)
This commit is contained in:
parent
48d211ab8f
commit
04172f2c10
@ -35,7 +35,8 @@ class NodeParser:
|
|||||||
return expression.text if expression is not None else None
|
return expression.text if expression is not None else None
|
||||||
|
|
||||||
def parse_documentation(self, sequence_flow=None):
|
def parse_documentation(self, sequence_flow=None):
|
||||||
documentation_node = first(self._xpath(sequence_flow or self.node, './/bpmn:documentation'))
|
node = sequence_flow if sequence_flow is not None else self.node
|
||||||
|
documentation_node = first(self._xpath(node, './/bpmn:documentation'))
|
||||||
return None if documentation_node is None else documentation_node.text
|
return None if documentation_node is None else documentation_node.text
|
||||||
|
|
||||||
def parse_incoming_data_references(self):
|
def parse_incoming_data_references(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user