diff options
author | Petr Viktorin <pviktori@redhat.com> | 2013-01-23 09:53:10 -0500 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-03-01 16:59:45 +0100 |
commit | d17f9020a847c7a6db7734f1525c59efe07fbdcd (patch) | |
tree | bb99643e47b9d7d032bb89e00f8e8fc779b0ab6e /ipaserver | |
parent | e815c1893d4f8118c1308cb7e306826442988863 (diff) | |
download | freeipa-d17f9020a847c7a6db7734f1525c59efe07fbdcd.tar.gz freeipa-d17f9020a847c7a6db7734f1525c59efe07fbdcd.tar.xz freeipa-d17f9020a847c7a6db7734f1525c59efe07fbdcd.zip |
Fix typo and traceback suppression in replication.py
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 |