Skip to content

Commit 05aa554

Browse files
Run black
1 parent 6fec48b commit 05aa554

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nipype/utils/filemanip.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,8 @@ def emptydirs(path, noexist_ok=False):
782782
except OSError as ex:
783783
elcont = [
784784
Path(root) / file
785-
for root, _, files in os.walk(path) for file in files
785+
for root, _, files in os.walk(path)
786+
for file in files
786787
if not file.startswith(".nfs")
787788
]
788789
if ex.errno in [errno.ENOTEMPTY, errno.EBUSY] and not elcont:

0 commit comments

Comments
 (0)