From 09f3685eb3acefdc8d92313b3097190644562f6b Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Thu, 6 Jun 2024 11:27:47 +0100 Subject: [PATCH] fix get-stage0.py The parse method now takes args instead of using sys.argv, so pass in local args variable, and build_bootstrap no longer takes color and verbose_count args. --- debian/get-stage0.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/get-stage0.py b/debian/get-stage0.py index 49f8066ca0..f37ef2b618 100755 --- a/debian/get-stage0.py +++ b/debian/get-stage0.py @@ -11,7 +11,7 @@ from bootstrap import RustBuild class DownloadOnlyRustBuild(RustBuild): triple = None - def build_bootstrap(self, color, verbose_count): + def build_bootstrap(self): pass def run(self, *args): pass @@ -26,7 +26,7 @@ def main(argv): triple = argv.pop(1) DownloadOnlyRustBuild.triple = triple bootstrap.RustBuild = DownloadOnlyRustBuild - args = bootstrap.parse_args() + args = bootstrap.parse_args(argv) # bootstrap.py likes to delete our .cargo directory out from under us shutil.move(".cargo", ".cargo-bak") try: