From d17f9020a847c7a6db7734f1525c59efe07fbdcd Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 23 Jan 2013 09:53:10 -0500 Subject: Fix typo and traceback suppression in replication.py --- ipaserver/install/replication.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ipaserver') 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 -- cgit