From: Waldemar Kozaczuk <[email protected]> Committer: Waldemar Kozaczuk <[email protected]> Branch: master
scripts: remove redundant parsing of arguments in run.py Signed-off-by: Waldemar Kozaczuk <[email protected]> --- diff --git a/scripts/run.py b/scripts/run.py --- a/scripts/run.py +++ b/scripts/run.py @@ -553,7 +553,6 @@ def main(options): parser.add_argument("--arch", action="store", choices=["x86_64","aarch64"], default="x86_64", help="specify QEMU architecture: x86_64, aarch64") cmdargs = parser.parse_args() - cmdargs = parser.parse_args() cmdargs.opt_path = "debug" if cmdargs.debug else "release" if cmdargs.release else "last" cmdargs.image_file = os.path.abspath(cmdargs.image or os.path.join(osv_base, "build/%s/usr.img" % cmdargs.opt_path)) if cmdargs.arch == 'aarch64': -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/000000000000059fad05a0516bed%40google.com.
