diff options
author | Jan Cholasta <jcholast@redhat.com> | 2013-10-31 16:55:07 +0000 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-01-24 20:29:31 +0100 |
commit | 97c1c95f20762055932a83cb7ac08a408437a661 (patch) | |
tree | 45fe75881605384be220c4fab7d226f42d3077ce /ipaserver/install/plugins/fix_replica_agreements.py | |
parent | 08051f16516a3978494ae94032d55cc8b1426df9 (diff) | |
download | freeipa.git-97c1c95f20762055932a83cb7ac08a408437a661.tar.gz freeipa.git-97c1c95f20762055932a83cb7ac08a408437a661.tar.xz freeipa.git-97c1c95f20762055932a83cb7ac08a408437a661.zip |
Convert remaining update code to LDAPEntry API.
Diffstat (limited to 'ipaserver/install/plugins/fix_replica_agreements.py')
-rw-r--r-- | ipaserver/install/plugins/fix_replica_agreements.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/plugins/fix_replica_agreements.py b/ipaserver/install/plugins/fix_replica_agreements.py index bfd6356b..a5ff4819 100644 --- a/ipaserver/install/plugins/fix_replica_agreements.py +++ b/ipaserver/install/plugins/fix_replica_agreements.py @@ -89,7 +89,7 @@ class update_replica_attribute_lists(PreUpdate): replica[attribute] = [template % " ".join(values)] try: - repl.conn.update_entry(replica.dn, replica) + repl.conn.update_entry(replica) self.log.debug("Updated") except Exception, e: self.log.error("Error caught updating replica: %s", str(e)) @@ -107,7 +107,7 @@ class update_replica_attribute_lists(PreUpdate): '%s %s' % (attrlist, ' '.join(missing))] try: - repl.conn.update_entry(replica.dn, replica) + repl.conn.update_entry(replica) self.log.debug("Updated %s", attribute) except Exception, e: self.log.error("Error caught updating %s: %s", |