Merge commit 'f82f4c25827cd04b22c3c9ca8948653f8b79b9e5'

This commit is contained in:
burnettk 2022-10-27 15:15:03 -04:00
commit 8712ce0ad2
3 changed files with 6 additions and 4 deletions

View File

@ -62,8 +62,8 @@ class NodeParser:
extensions = {}
extra_ns = {'camunda': CAMUNDA_MODEL_NS}
extension_nodes = self.xpath('.//bpmn:extensionElements/camunda:properties/camunda:property', extra_ns)
for node in extension_nodes:
extensions[node.get('name')] = node.get('value')
for ex_node in extension_nodes:
extensions[ex_node.get('name')] = ex_node.get('value')
return extensions
def _get_lane(self):

View File

@ -0,0 +1 @@
"""__init.py__"""

View File

@ -21,6 +21,7 @@ setup(name='SpiffWorkflow',
author_email='dan@sartography.com',
license='lGPLv2',
packages=find_packages(exclude=['tests', 'tests.*']),
package_data={'SpiffWorkflow.bpmn.parser.schema': ['*.xsd']},
install_requires=['configparser', 'lxml', 'celery', 'dateparser', 'pytz',
# required for python 3.7 - https://stackoverflow.com/a/73932581
'importlib-metadata<5.0; python_version <= "3.7"'],