summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/bindinstance.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-12-17 01:29:29 +0100
committerJan Cholasta <jcholast@redhat.com>2015-12-23 07:59:22 +0100
commit00fd28e02689d49f89429b663b16ce4ca484e7d6 (patch)
treede1a34d25bcca07f96e2ade7a7acde2a4359a8ff /ipaserver/install/bindinstance.py
parentded70b6c6ea14458eef35dede5bbc276449f4fe9 (diff)
downloadfreeipa-00fd28e02689d49f89429b663b16ce4ca484e7d6.tar.gz
freeipa-00fd28e02689d49f89429b663b16ce4ca484e7d6.tar.xz
freeipa-00fd28e02689d49f89429b663b16ce4ca484e7d6.zip
Enable pylint unnecessary-pass check
Enables check and removes extra pass statement from code. Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipaserver/install/bindinstance.py')
-rw-r--r--ipaserver/install/bindinstance.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py
index 6c0d73015..fab458ce4 100644
--- a/ipaserver/install/bindinstance.py
+++ b/ipaserver/install/bindinstance.py
@@ -1240,7 +1240,6 @@ class BindInstance(service.Service):
self.fstore.restore_file(f)
except ValueError as error:
root_logger.debug(error)
- pass
# disabled by default, by ldap_enable()
if enabled: