mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-12 16:32:01 -05:00
Fix typo and traceback suppression in replication.py
This commit is contained in:
1 parent
e815c1893d
commit
d17f9020a8
1 file changed
+4
-3
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user