We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94a11f0 commit c90b84eCopy full SHA for c90b84e
nipype/utils/misc.py
@@ -3,7 +3,7 @@
3
# vi: set ft=python sts=4 ts=4 sw=4 et:
4
"""Miscellaneous utility functions
5
"""
6
-from __future__ import print_function, division, unicode_literals, absolute_import
+from __future__ import division, unicode_literals, absolute_import
7
from future import standard_library
8
standard_library.install_aliases()
9
from builtins import next, str
@@ -91,7 +91,6 @@ def create_function_from_source(function_source, imports=None):
91
exec(statement, ns)
92
import_keys = list(ns.keys())
93
exec(function_source, ns)
94
-
95
except Exception as e:
96
msg = '\nError executing function:\n %s\n' % function_source
97
msg += '\n'.join(["Functions in connection strings have to be standalone.",
0 commit comments