summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2015-07-24 11:26:33 +0200
committerTomas Babej <tbabej@redhat.com>2015-07-24 11:27:22 +0200
commit5df48d74a0b473f80f728c83b41d7660398a11a4 (patch)
treec92f69f6beb2d45a2efe6e89df91c14b43a9bde3
parentaa066f31a5341079197f7b5a79fe2fa1045688bb (diff)
downloadfreeipa-5df48d74a0b473f80f728c83b41d7660398a11a4.tar.gz
freeipa-5df48d74a0b473f80f728c83b41d7660398a11a4.tar.xz
freeipa-5df48d74a0b473f80f728c83b41d7660398a11a4.zip
replication: Fix incorrect exception invocation
Reviewed-By: Tomas Babej <tbabej@redhat.com>
-rw-r--r--ipaserver/install/replication.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/replication.py b/ipaserver/install/replication.py
index e9af88dc4..2b36a5eb9 100644
--- a/ipaserver/install/replication.py
+++ b/ipaserver/install/replication.py
@@ -1171,7 +1171,7 @@ class ReplicationManager(object):
entry = self.get_replication_agreement(hostname)
if not entry:
raise errors.NotFound(
- "Replication agreement for %s not found" % hostname)
+ reason="Replication agreement for %s not found" % hostname)
objectclass = entry.get("objectclass")
for o in objectclass: