Make Flake8 happy
This commit is contained in:
parent
9a1aad8e92
commit
3b7b12bbd5
12 changed files with 60 additions and 47 deletions
|
@ -105,8 +105,7 @@ class SnmpScanner(object):
|
|||
return
|
||||
if errstatus:
|
||||
_LOGGER.error('SNMP error: %s at %s', errstatus.prettyPrint(),
|
||||
errindex and restable[-1][int(errindex)-1]
|
||||
or '?')
|
||||
errindex and restable[-1][int(errindex)-1] or '?')
|
||||
return
|
||||
|
||||
for resrow in restable:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue