From ab2ca8022e4bd89e87e0b7ce908022e6df350866 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 25 Jan 2011 18:46:26 +0100 Subject: Fix assorted bugs found by pylint --- ipaserver/ipaldap.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'ipaserver/ipaldap.py') diff --git a/ipaserver/ipaldap.py b/ipaserver/ipaldap.py index b1f9f40c4..d2d3d98a7 100644 --- a/ipaserver/ipaldap.py +++ b/ipaserver/ipaldap.py @@ -611,8 +611,6 @@ class IPAdmin(SimpleLDAPObject): while not entry and int(time.time()) < timeout: try: entry = self.getEntry(dn, scope, filter, attrlist) - except ipaerror.exception_for(ipaerror.LDAP_NOT_FOUND): - pass # found entry, but no attr except ldap.NO_SUCH_OBJECT: pass # no entry yet except ldap.LDAPError, e: # badness -- cgit