--- a/misc/scripts/pyroforge2datafeed.py Thu Feb 14 15:38:25 2013 +0100
+++ b/misc/scripts/pyroforge2datafeed.py Thu Feb 14 16:01:24 2013 +0100
@@ -74,7 +74,7 @@
# only cleanup entities table, remaining stuff should be cleaned by a c-c
# db-check to be run after this script
-for entities in todelete.values():
+for entities in todelete.itervalues():
system_source.delete_info_multi(session, entities, source_name)
@@ -87,7 +87,7 @@
if schemaent.__regid__ != 'CWEType':
assert schemaent.__regid__ == 'CWRType'
sch = schema._eid_index[schemaent.eid]
- for rdef in sch.rdefs.values():
+ for rdef in sch.rdefs.itervalues():
if not source.support_entity(rdef.subject) \
or not source.support_entity(rdef.object):
continue