Skip to content

Commit b25c9c3

Browse files
committed
bugfix. actually import FileExistsError
1 parent de9e299 commit b25c9c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/utils/filemanip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
PY3 = sys.version_info[0] >= 3
4242

4343
try:
44-
from builtins import FileNotFoundError
44+
from builtins import FileNotFoundError, FileExistsError
4545
except ImportError: # PY27
4646
class FileNotFoundError(OSError): # noqa
4747
"""Defines the exception for Python 2."""

0 commit comments

Comments
 (0)