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:
|
try:
|
||||||
entry = self.conn.getEntry(DN(('cn', 'mapping tree'), ('cn', 'config')), ldap.SCOPE_ONELEVEL,
|
entry = self.conn.getEntry(DN(('cn', 'mapping tree'), ('cn', 'config')), ldap.SCOPE_ONELEVEL,
|
||||||
"(cn=\"%s\")" % (self.suffix))
|
"(cn=\"%s\")" % (self.suffix))
|
||||||
except errors.NotFound, e:
|
except errors.NotFound:
|
||||||
root_logger.debug("failed to find mappting tree entry for %s" % self.suffix)
|
root_logger.debug(
|
||||||
raise e
|
"failed to find mapping tree entry for %s", self.suffix)
|
||||||
|
raise
|
||||||
|
|
||||||
return entry
|
return entry
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user