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
commitb09800509a9fe577931f8914b11761f753863444 (patch)
tree1ec43e239d59a1113204d55467207296c8cf99d7
parenta60f4ad7d0bbdaca2fbec2c9c491e976bf935f7e (diff)
downloadfreeipa-b09800509a9fe577931f8914b11761f753863444.tar.gz
freeipa-b09800509a9fe577931f8914b11761f753863444.tar.xz
freeipa-b09800509a9fe577931f8914b11761f753863444.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: