Skip to content

Commit e319517

Browse files
authored
Merge pull request #1557 from nipy/fix_command_line
Changed default for CommandLine._run_interface to not be mutable
2 parents da1bd4f + ab9a9df commit e319517

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
@@ -1660,7 +1660,7 @@ def _run_wrapper(self, runtime):
16601660
runtime = self._run_interface(runtime)
16611661
return runtime
16621662

1663-
def _run_interface(self, runtime, correct_return_codes=[0]):
1663+
def _run_interface(self, runtime, correct_return_codes=(0,)):
16641664
"""Execute command via subprocess
16651665
16661666
Parameters

0 commit comments

Comments
 (0)