Skip to content

Commit c90b84e

Browse files
committed
fix: do not use new print statement
1 parent 94a11f0 commit c90b84e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nipype/utils/misc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# vi: set ft=python sts=4 ts=4 sw=4 et:
44
"""Miscellaneous utility functions
55
"""
6-
from __future__ import print_function, division, unicode_literals, absolute_import
6+
from __future__ import division, unicode_literals, absolute_import
77
from future import standard_library
88
standard_library.install_aliases()
99
from builtins import next, str
@@ -91,7 +91,6 @@ def create_function_from_source(function_source, imports=None):
9191
exec(statement, ns)
9292
import_keys = list(ns.keys())
9393
exec(function_source, ns)
94-
9594
except Exception as e:
9695
msg = '\nError executing function:\n %s\n' % function_source
9796
msg += '\n'.join(["Functions in connection strings have to be standalone.",

0 commit comments

Comments
 (0)