Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: remove unused USING_PATHLIB_PATCHED
  • Loading branch information
oesteban committed Jul 17, 2019
commit 66c0f9b1ae83f0646ae71b913ef2991938ea21bb
2 changes: 0 additions & 2 deletions nipype/utils/filemanip.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def __init__(self, path):


USING_PATHLIB2 = False
USING_PATHLIB_PATCHED = False
try:
from pathlib import Path
except ImportError:
Expand All @@ -70,7 +69,6 @@ def _patch_resolve(self, strict=False):

Path.old_resolve = Path.resolve
Path.resolve = _patch_resolve
USING_PATHLIB_PATCHED = True
except FileNotFoundError:
pass
except OSError:
Expand Down