diff --git a/sdk/X-AIOS-LT00-V1.0.4/build/script/common/run_cmd.py b/sdk/X-AIOS-LT00-V1.0.4/build/script/common/run_cmd.py index d8cea900e..fcb77c463 100755 --- a/sdk/X-AIOS-LT00-V1.0.4/build/script/common/run_cmd.py +++ b/sdk/X-AIOS-LT00-V1.0.4/build/script/common/run_cmd.py @@ -8,7 +8,7 @@ print("hello, this is run_cmd.py") def main(argv): print("Environment Variables:") for key, value in os.environ.items(): - print(f"{key}: {value}") + print("{}: {}".format(key, value)) if len(sys.argv) == 3: subprocess.call(['/bin/bash', sys.argv[1], sys.argv[2]]) @@ -18,8 +18,8 @@ def main(argv): subprocess.call(['/bin/bash', sys.argv[1]]) if __name__ == "__main__": - print(f"Arguments count: {len(sys.argv)}") + print("Arguments count: {}".format(len(sys.argv))) for i, arg in enumerate(sys.argv): - print(f"Argument: {i:>6}: {arg}") + print("Argument: {:>6}: {}".format(i, arg)) main(sys.argv)