commands/update_station_last_seen: Rename unused argument to original specifier (W0613)
Fixes unused-argument (W0613) pylint error. Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>merge-requests/863/head
parent
183dade977
commit
aa0b657de1
|
@ -22,7 +22,6 @@ disable=
|
|||
R0915, # too-many-statements
|
||||
W0107, # unnecessary-pass
|
||||
W0201, # attribute-defined-outside-init
|
||||
W0613, # unused-argument
|
||||
W0621, # redefined-outer-name
|
||||
W0622, # redefined-builtin
|
||||
W0703, # broad-except
|
||||
|
|
|
@ -14,7 +14,7 @@ class Command(BaseCommand):
|
|||
def add_arguments(self, parser):
|
||||
parser.add_argument('station_id', nargs='+', type=int)
|
||||
|
||||
def handle(self, *_, **options):
|
||||
def handle(self, *args, **options):
|
||||
for station_id in options['station_id']:
|
||||
try:
|
||||
ground_station = Station.objects.get(id=station_id)
|
||||
|
|
Loading…
Reference in New Issue