Skip to content

Commit 04fd0d2

Browse files
committed
remove unnecessary pass
1 parent 879862f commit 04fd0d2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

nipype/pipeline/engine/nodes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,6 @@ def run(self, updatehash=False):
367367
logger.warn(('An exception was raised trying to remove old %s, '
368368
'but the path seems empty. Is it an NFS mount?. '
369369
'Passing the exception.') % outdir)
370-
pass
371370
elif ((ex.errno == errno.ENOTEMPTY) and (len(outdircont) != 0)):
372371
logger.debug(('Folder contents (%d items): '
373372
'%s') % (len(outdircont), outdircont))

0 commit comments

Comments
 (0)