use semicolons instead of newlines in module/python command (#13904)
This commit is contained in:
parent
9c5b583508
commit
fba963f1d1
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
# This list is not exhaustive. Currently we only use load and unload
|
||||
# If we need another option that changes the environment, add it here.
|
||||
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
|
||||
_test_mode = False
|
||||
|
|
Loading…
Reference in a new issue