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:
parent
7d56022a64
commit
48e7da791f
|
@ -24,7 +24,7 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
output_dir = sys.argv[2]
|
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
|
output_file = output_dir + os.path.sep + name
|
||||||
|
|
||||||
directory = os.path.dirname(output_file)
|
directory = os.path.dirname(output_file)
|
||||||
|
|
Loading…
Reference in New Issue