From 5df48d74a0b473f80f728c83b41d7660398a11a4 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Fri, 24 Jul 2015 11:26:33 +0200 Subject: replication: Fix incorrect exception invocation Reviewed-By: Tomas Babej --- ipaserver/install/replication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit