Use "items" instead of "iteritems".
The method got removed in python3.
Test: 701-easy-div-rem
Bug: 140161314
Change-Id: I840bb96a9d48ba1acf87af53d8d10f0abf2eac64
diff --git a/test/701-easy-div-rem/genMain.py b/test/701-easy-div-rem/genMain.py
index b6c769f..918f647 100644
--- a/test/701-easy-div-rem/genMain.py
+++ b/test/701-easy-div-rem/genMain.py
@@ -40,7 +40,7 @@
def subst_vars(variables, text):
'''Substitute variables in text.'''
- for key, value in variables.iteritems():
+ for key, value in variables.items():
text = text.replace(str(key), str(value))
return text