From d17f9020a847c7a6db7734f1525c59efe07fbdcd Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Mar 01 2013 15:59:45 +0000 Subject: Fix typo and traceback suppression in replication.py --- diff --git a/ipaserver/install/replication.py b/ipaserver/install/replication.py index 332b882..1bd74b7 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