diff options
author | Petr Viktorin <pviktori@redhat.com> | 2013-01-23 09:35:55 -0500 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-03-01 16:59:45 +0100 |
commit | e815c1893d4f8118c1308cb7e306826442988863 (patch) | |
tree | ff9d3c447d63481229dd809e1ffb021ac3d3a990 /install/tools | |
parent | f8ad7cb96f065ca0dc557d8be95fd33a95d34d17 (diff) | |
download | freeipa-e815c1893d4f8118c1308cb7e306826442988863.tar.gz freeipa-e815c1893d4f8118c1308cb7e306826442988863.tar.xz freeipa-e815c1893d4f8118c1308cb7e306826442988863.zip |
Replace deleteEntry with delete_entry
Part of the work for: https://fedorahosted.org/freeipa/ticket/2660
Diffstat (limited to 'install/tools')
-rwxr-xr-x | install/tools/ipa-replica-manage | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/tools/ipa-replica-manage b/install/tools/ipa-replica-manage index 58b7fa03d..c542c0757 100755 --- a/install/tools/ipa-replica-manage +++ b/install/tools/ipa-replica-manage @@ -308,8 +308,8 @@ def del_link(realm, replica1, replica2, dirman_passwd, force=False): entries = repl1.conn.get_entries(dn, ldap.SCOPE_SUBTREE) if entries: entries.sort(key=len, reverse=True) - for dn in entries: - repl1.conn.deleteEntry(dn) + for entry in entries: + repl1.conn.delete_entry(entry) except Exception, e: print "Error deleting winsync replica shared info: %s" % convert_error(e) |