Use dict.items() instead of dict.iteritems() for py3 compat

iteritems() went away in Python 3.

R=kainino@chromium.org

Bug: 941669
Change-Id: I0c107aaa35bb1df7c126485c33c3d15cb77f03fe
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15560
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
Reid Kleckner 2020-01-30 01:25:08 +00:00 committed by Commit Bot service account
parent 7d56022a64
commit 48e7da791f
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ if __name__ == "__main__":
output_dir = sys.argv[2]
for (name, content) in files.iteritems():
for (name, content) in files.items():
output_file = output_dir + os.path.sep + name
directory = os.path.dirname(output_file)