Enable pylint unnecessary-pass check

Enables check and removes extra pass statement from code.

Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
Martin Basti
2015-12-17 01:29:29 +01:00
committed by Jan Cholasta
parent ded70b6c6e
commit 00fd28e026
14 changed files with 2 additions and 19 deletions

View File

@@ -491,7 +491,6 @@ class DNSKeySyncInstance(service.Service):
self.fstore.restore_file(f)
except ValueError as error:
self.logger.debug(error)
pass
# remove softhsm pin, to make sure new installation will generate
# new token database