Replace iteritems() with items()

This commit is contained in:
Daniel Martí 2016-01-04 17:02:28 +01:00
parent 6819c109fe
commit 75419c1f04
9 changed files with 30 additions and 30 deletions

View file

@ -117,7 +117,7 @@ regex_checks = {
def check_regexes(app):
for f, checks in regex_checks.iteritems():
for f, checks in regex_checks.items():
for m, r in checks:
v = app.get_field(f)
t = metadata.fieldtype(f)
@ -332,7 +332,7 @@ def main():
allapps = metadata.read_metadata(xref=True)
apps = common.read_app_args(options.appid, allapps, False)
for appid, app in apps.iteritems():
for appid, app in apps.items():
if app.Disabled:
continue