linting W1201, W1202
fix logging strings to %s format Signed-off-by: Corey Shields <cshields@gmail.com>merge-requests/399/head
parent
6bc64e9217
commit
adfc08bb79
|
@ -19,8 +19,6 @@ disable=
|
|||
R0915,
|
||||
R1705,
|
||||
W0511,
|
||||
W1201,
|
||||
W1202,
|
||||
W5102,
|
||||
W5103,
|
||||
W5104,
|
||||
|
|
|
@ -90,7 +90,7 @@ def update_all_tle():
|
|||
# Epoch of new TLE is larger then the TLE already in the db
|
||||
continue
|
||||
except ValueError:
|
||||
LOGGER.error('ERROR: TLE malformed for ' + norad_id)
|
||||
LOGGER.error('ERROR: TLE malformed for %s', norad_id)
|
||||
continue
|
||||
|
||||
satellite.tle_source = source
|
||||
|
|
|
@ -191,7 +191,7 @@ def transmitter_suggestion(request):
|
|||
return redirect(reverse('satellite', kwargs={'norad': transmitter.satellite.norad_cat_id}))
|
||||
else:
|
||||
LOGGER.error(
|
||||
'Suggestion form was not valid {0}'.format(transmitter_form.errors),
|
||||
'Suggestion form was not valid %s', format(transmitter_form.errors),
|
||||
exc_info=True,
|
||||
extra={
|
||||
'form': transmitter_form.errors,
|
||||
|
|
Loading…
Reference in New Issue