update: clean up unused variables

Replace some unused things with _.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2021-03-31 18:23:53 -07:00 committed by Marti Bolivar
parent 6c44a6724b
commit 76a16fd545
1 changed files with 3 additions and 3 deletions

View File

@ -170,7 +170,7 @@ With neither, -m {MANIFEST_URL_DEFAULT} is assumed.
return parser
def do_run(self, args, ignored):
def do_run(self, args, _):
if self.topdir:
zb = os.environ.get('ZEPHYR_BASE')
if zb:
@ -786,7 +786,7 @@ class Update(_ProjectCommand):
return parser
def do_run(self, args, user_args):
def do_run(self, args, _):
self.die_if_no_git()
self._setup_logging(args)
@ -942,7 +942,7 @@ class Update(_ProjectCommand):
log.die('one or more projects are unknown or defined via '
'imports; please run plain "west update".')
projects, unknown = projects_unknown(self.manifest, ids)
_, unknown = projects_unknown(self.manifest, ids)
if unknown:
die_unknown(unknown)
else: