misc/scripts/ldapuser2ldapfeed.py
changeset 8645 310040c668c0
parent 8535 268b6349baf3
parent 8635 c261d9465e65
child 8900 010a59e12d89
--- a/misc/scripts/ldapuser2ldapfeed.py	Wed Jan 09 15:46:05 2013 +0100
+++ b/misc/scripts/ldapuser2ldapfeed.py	Wed Jan 09 16:06:20 2013 +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)