From cf371fed130db79c6b857a657b7b13bed94e53d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Mon, 4 Jan 2021 00:00:01 +0000 Subject: [PATCH] fix ./build-qemu --clean Was failing with: ``` TypeError: clean_pre() takes 1 positional argument but 2 were given ``` --- common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.py b/common.py index 384754f..3b35daa 100644 --- a/common.py +++ b/common.py @@ -1997,7 +1997,7 @@ after configure, e.g. SCons. Usually contains specific targets or other build fl ) return ret - def clean_pre(self): + def clean_pre(self, build_dir): pass def clean(self): @@ -2007,7 +2007,7 @@ after configure, e.g. SCons. Usually contains specific targets or other build fl self.sh.rmrf(build_dir) self.clean_post(build_dir) - def clean_post(self): + def clean_post(self, build_dir): pass def build(self):