Fix linter issues

This commit is contained in:
Daniel A. Wozniak 2018-09-21 15:50:17 -07:00
parent 4c457c9afb
commit 0a3d95fa18
No known key found for this signature in database
GPG key ID: 166B9D2C06C82D61

View file

@ -347,7 +347,6 @@ def list_keys(hive, key=None, use_32bit_registry=False):
else:
subkeys.append(subkey)
except Exception: # pylint: disable=E0602
log.debug(r'Cannot find key: %s\%s', hive, key, exc_info=True)
return False, r'Cannot find key: {0}\{1}'.format(hive, key)