From 9adb3524bbec489ef6e7a6edd79d1b40199f8bed Mon Sep 17 00:00:00 2001 From: Dirk Pranke Date: Wed, 13 Nov 2024 20:25:57 -0800 Subject: [PATCH] format //run --- run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run b/run index 6688208..f2b868c 100755 --- a/run +++ b/run @@ -371,7 +371,7 @@ class Runner: leading_args.append(argv[i]) i += 1 - return argv[i:i+1] + leading_args + argv[i+1:] + return argv[i : i + 1] + leading_args + argv[i + 1 :] def _gen_parser(self): tool = '../glop/glop/tool.py' @@ -417,5 +417,6 @@ class Runner: print(f'Unexpected version format: "{self.version}"') sys.exit(1) + if __name__ == '__main__': sys.exit(Runner().main(sys.argv[1:]))