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.
black
1 parent 6fec48b commit 05aa554Copy full SHA for 05aa554
nipype/utils/filemanip.py
@@ -782,7 +782,8 @@ def emptydirs(path, noexist_ok=False):
782
except OSError as ex:
783
elcont = [
784
Path(root) / file
785
- for root, _, files in os.walk(path) for file in files
+ for root, _, files in os.walk(path)
786
+ for file in files
787
if not file.startswith(".nfs")
788
]
789
if ex.errno in [errno.ENOTEMPTY, errno.EBUSY] and not elcont:
0 commit comments