Skip to content

Commit ca1b004

Browse files
committed
FIX: CommandLine generates IOError, not OSError
1 parent 1a65959 commit ca1b004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1937,7 +1937,7 @@ def version(klass):
19371937
clout = CommandLine(command=klass.version_cmd,
19381938
resource_monitor=False,
19391939
terminal_output='allatonce').run()
1940-
except OSError:
1940+
except IOError:
19411941
return None
19421942

19431943
raw_info = clout.runtime.stdout

0 commit comments

Comments
 (0)