mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
replication: Fix incorrect exception invocation
Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
parent
aa066f31a5
commit
5df48d74a0
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user