Skip to content

Commit 6bc4108

Browse files
committed
fix: change dict comprehension to list comprehension for 2.6 compatibility
1 parent 509b5de commit 6bc4108

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/pipeline/engine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1844,8 +1844,8 @@ def _add_join_item_fields(self):
18441844
"""
18451845
# create the new join item fields
18461846
idx = self._next_slot_index
1847-
newfields = {field: self._add_join_item_field(field, idx)
1848-
for field in self.joinfield}
1847+
newfields = dict([(field, self._add_join_item_field(field, idx))
1848+
for field in self.joinfield])
18491849
# increment the join slot index
18501850
logger.debug("Added the %s join item fields %s." % (self, newfields))
18511851
self._next_slot_index += 1

0 commit comments

Comments
 (0)