Skip to content

Commit

Permalink
python3 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
denisri committed Sep 26, 2024
1 parent 17d0084 commit cf5e969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions capsul/pipeline/pipeline_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,7 @@ def workflow_from_pipeline_structure(
to Workflow constructor)
"""
def _update_links(links1, links2):
for dest_node, slink in six.iteritems(links2):
for dest_node, slink in links2.items():
nlink = links1.setdefault(dest_node, {})
nlink.update(slink)

Expand All @@ -1322,7 +1322,7 @@ def _update_links(links1, links2):
links = {}

nodes = [(pipeline, node_name, node)
for node_name, node in six.iteritems(pipeline.nodes)
for node_name, node in pipeline.nodes.items()
if node.activated and node.enabled
and node is not pipeline.pipeline_node]
all_nodes = []
Expand Down

0 comments on commit cf5e969

Please sign in to comment.