From e3925cac13a3daca4880e789a139bad265c21798 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Fri, 24 Jul 2015 11:26:33 +0200 Subject: [PATCH] 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 e9af88dc4356d4fd5495f4fea399ab09c75db953..2b36a5eb9287bf1789009a3198e540e333869e98 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: -- 2.4.3