diff --git a/changelog.txt b/changelog.txt index 09fd24020..5f6efb69c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -8,6 +8,14 @@ The numbers in brackets denote the related GitHub issue and/or pull request. Version 0.27 ============ +[next] -- not yet released +-------------------------- + +Changed ++++++++ + +- Move "Submit command" comment to end of pretend output (#805). + [0.27.0] -- 2024-01-15 ---------------------- diff --git a/flow/scheduling/base.py b/flow/scheduling/base.py index c618c0ae6..9c089bf5c 100644 --- a/flow/scheduling/base.py +++ b/flow/scheduling/base.py @@ -204,9 +204,9 @@ def _call_submit(submit_cmd, script, pretend): """ submit_cmd_string = " ".join(submit_cmd) if pretend: - print(f"# Submit command: {submit_cmd_string}") print(script) print() + print(f"# Submit command: {submit_cmd_string}") else: with tempfile.NamedTemporaryFile() as tmp_submit_script: tmp_submit_script.write(str(script).encode("utf-8"))