remove unused args argument (MR 2136)

This commit is contained in:
BO41 2021-11-09 12:54:07 +01:00 committed by Oliver Smith
parent 379991aa62
commit 3f2bd03d33
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
10 changed files with 38 additions and 38 deletions

View file

@ -231,7 +231,7 @@ def sudo_timer_iterate():
timer.start()
def sudo_timer_start(args):
def sudo_timer_start():
"""
Start a timer to call sudo -v periodically, so that the password is only
needed once.
@ -305,7 +305,7 @@ def core(args, log_message, cmd, working_dir=None, output="log",
sanity_checks(output, output_return, check)
if args.sudo_timer and sudo:
sudo_timer_start(args)
sudo_timer_start()
# Log simplified and full command (pmbootstrap -v)
logging.debug(log_message)