Skip to content
Snippets Groups Projects
Unverified Commit fba963f1 authored by Greg Becker's avatar Greg Becker Committed by Todd Gamblin
Browse files

use semicolons instead of newlines in module/python command (#13904)

parent 9c5b5835
Branches
Tags
No related merge requests found
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
# This list is not exhaustive. Currently we only use load and unload # This list is not exhaustive. Currently we only use load and unload
# If we need another option that changes the environment, add it here. # If we need another option that changes the environment, add it here.
module_change_commands = ['load', 'swap', 'unload', 'purge', 'use', 'unuse'] module_change_commands = ['load', 'swap', 'unload', 'purge', 'use', 'unuse']
py_cmd = "'import os\nimport json\nprint(json.dumps(dict(os.environ)))'" py_cmd = "'import os;import json;print(json.dumps(dict(os.environ)))'"
# This is just to enable testing. I hate it but we can't find a better way # This is just to enable testing. I hate it but we can't find a better way
_test_mode = False _test_mode = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment