Skip to content

Commit 437c23a

Browse files
authored
Merge pull request #1576 from jvarada/master
Fix for #1575
2 parents a26ef19 + ec143e0 commit 437c23a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/pipeline/plugins/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def create_pyscript(node, updatehash=False, store_exception=True):
145145
cwd = os.getcwd()
146146
info = loadpkl(pklfile)
147147
result = info['node'].run(updatehash=info['updatehash'])
148-
except Exception, e:
148+
except Exception as e:
149149
etype, eval, etr = sys.exc_info()
150150
traceback = format_exception(etype,eval,etr)
151151
if info is None or not os.path.exists(info['node'].output_dir()):

0 commit comments

Comments
 (0)