From e815c1893d4f8118c1308cb7e306826442988863 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 23 Jan 2013 09:35:55 -0500 Subject: Replace deleteEntry with delete_entry Part of the work for: https://fedorahosted.org/freeipa/ticket/2660 --- install/tools/ipa-replica-manage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/tools') 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) -- cgit