Make Flake8 happy

This commit is contained in:
Paulus Schoutsen 2016-01-12 21:53:27 -08:00
parent 9a1aad8e92
commit 3b7b12bbd5
12 changed files with 60 additions and 47 deletions

View file

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