diff options
author | Gedare Bloom <gedare@rtems.org> | 2020-03-19 09:33:14 -0600 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2020-03-19 09:33:14 -0600 |
commit | 11a481fb942e6436f8bb567ae4b8a80027735025 (patch) | |
tree | fe1e5c021a0ebc0375780cbc7b40c38b579c654a | |
parent | record: Increase input buffer and alignment (diff) | |
download | rtems-tools-11a481fb942e6436f8bb567ae4b8a80027735025.tar.bz2 |
execute.py: fix long line
-rwxr-xr-x | rtemstoolkit/execute.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rtemstoolkit/execute.py b/rtemstoolkit/execute.py index 35f616c..3a79f50 100755 --- a/rtemstoolkit/execute.py +++ b/rtemstoolkit/execute.py @@ -576,8 +576,10 @@ if __name__ == "__main__": def capture_output(text): print(text, end = '') - cmd_shell_test = 'if "%OS%" == "Windows_NT" (echo It is WinNT) else echo Is is not WinNT' - sh_shell_test = 'x="me"; if [ $x = "me" ]; then echo "It was me"; else "It was him"; fi' + cmd_shell_test = ('if "%OS%" == "Windows_NT" (echo It is WinNT) ' + 'else echo It is not WinNT') + sh_shell_test = ('x="me"; if [ $x = "me" ]; then echo "It was me"; ' + 'else "It was him"; fi') commands = {} commands['windows'] = {} |