misc/scripts/ldapuser2ldapfeed.py
branchstable
changeset 8635 c261d9465e65
parent 8521 dfdffebce8a4
child 8645 310040c668c0
--- a/misc/scripts/ldapuser2ldapfeed.py	Mon Dec 17 14:40:03 2012 +0100
+++ b/misc/scripts/ldapuser2ldapfeed.py	Tue Dec 18 10:42:11 2012 +0100
@@ -80,7 +80,7 @@
     pprint(duplicates)
 
 print len(todelete), 'entities will be deleted'
-for etype, entities in todelete.values():
+for etype, entities in todelete.iteritems():
     print 'deleting', etype, [e.login for e in entities]
     system_source.delete_info_multi(session, entities, source_name)