diff options
Diffstat (limited to 'ipaserver')
-rw-r--r-- | ipaserver/install/replication.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ipaserver/install/replication.py b/ipaserver/install/replication.py index 332b8822b..1bd74b7b2 100644 --- a/ipaserver/install/replication.py +++ b/ipaserver/install/replication.py @@ -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 |