1
0
Fork 0

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
Fabian P. Schmidt 2019-12-31 22:22:41 +01:00
parent 183dade977
commit aa0b657de1
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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)