drop args from helpers.git and chroot.apk (MR 2252)

be gone!

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-05-24 19:47:53 +02:00 committed by Oliver Smith
parent 52338c5e76
commit 1be8653935
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
17 changed files with 85 additions and 70 deletions

View file

@ -112,7 +112,7 @@ def confirm(args: PmbArgs, question="Continue?", default=False, no_assumptions=F
return answer == "y"
def progress_print(args: PmbArgs, progress):
def progress_print(progress):
"""Print a snapshot of a progress bar to STDOUT.
Call progress_flush to end printing progress and clear the line. No output is printed in
@ -135,7 +135,7 @@ def progress_print(args: PmbArgs, progress):
sys.stdout.write("\u001b8\u001b[0K")
def progress_flush(args):
def progress_flush():
"""Finish printing a progress bar.
This will erase the line. Does nothing in non-interactive mode.