Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work to refactor amuse.rfi #1078

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Prev Previous commit
not is None -> is not None
  • Loading branch information
rieder committed Oct 14, 2024
commit cc5513747580dd3e41427ec85b83890841a39859
4 changes: 2 additions & 2 deletions src/amuse/rfi/run_command_redirected.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ def translate_filename_for_os(filename):

stdin.close()

if not stdout is None:
if stdout is not None:
stdout.close()

if not stderr is None:
if stderr is not None:
stderr.close()

sys.exit(returncode)
Loading