--- a/misc/scripts/pyroforge2datafeed.py Tue Sep 15 16:15:03 2015 +0200
+++ b/misc/scripts/pyroforge2datafeed.py Tue Oct 13 15:09:22 2015 +0200
@@ -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.itervalues():
+for entities in todelete.values():
system_source.delete_info_multi(session, entities, source_name)
@@ -87,7 +87,7 @@
if schemaent.cw_etype != 'CWEType':
assert schemaent.cw_etype == 'CWRType'
sch = schema._eid_index[schemaent.eid]
- for rdef in sch.rdefs.itervalues():
+ for rdef in sch.rdefs.values():
if not source.support_entity(rdef.subject) \
or not source.support_entity(rdef.object):
continue