Skip to content

Commit cf371fe

Browse files
committed
fix ./build-qemu --clean
Was failing with: ``` TypeError: clean_pre() takes 1 positional argument but 2 were given ```
1 parent 00f29e6 commit cf371fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1997,7 +1997,7 @@ def _build_one(
19971997
)
19981998
return ret
19991999

2000-
def clean_pre(self):
2000+
def clean_pre(self, build_dir):
20012001
pass
20022002

20032003
def clean(self):
@@ -2007,7 +2007,7 @@ def clean(self):
20072007
self.sh.rmrf(build_dir)
20082008
self.clean_post(build_dir)
20092009

2010-
def clean_post(self):
2010+
def clean_post(self, build_dir):
20112011
pass
20122012

20132013
def build(self):

0 commit comments

Comments
 (0)