misc/migration/3.11.0_Any.py
changeset 8696 0bb18407c053
parent 8483 4ba11607d84a
child 9450 af4b93bc38a5
--- a/misc/migration/3.11.0_Any.py	Thu Feb 14 15:38:25 2013 +0100
+++ b/misc/migration/3.11.0_Any.py	Thu Feb 14 16:01:24 2013 +0100
@@ -46,7 +46,7 @@
                    '%s relation should not be in support_relations' % rtype
         return mapping
     # for now, only pyrorql sources have a mapping
-    for source in repo.sources_by_uri.values():
+    for source in repo.sources_by_uri.itervalues():
         if not isinstance(source, PyroRQLSource):
             continue
         sourceentity = session.entity_from_eid(source.eid)