mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix typo and traceback suppression in replication.py
This commit is contained in:
parent
e815c1893d
commit
d17f9020a8
@ -447,9 +447,10 @@ class ReplicationManager(object):
|
||||
try:
|
||||
entry = self.conn.getEntry(DN(('cn', 'mapping tree'), ('cn', 'config')), ldap.SCOPE_ONELEVEL,
|
||||
"(cn=\"%s\")" % (self.suffix))
|
||||
except errors.NotFound, e:
|
||||
root_logger.debug("failed to find mappting tree entry for %s" % self.suffix)
|
||||
raise e
|
||||
except errors.NotFound:
|
||||
root_logger.debug(
|
||||
"failed to find mapping tree entry for %s", self.suffix)
|
||||
raise
|
||||
|
||||
return entry
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user