diff options
author | Uwe Klotz <uwe_klotz@web.de> | 2017-11-15 22:19:32 +0100 |
---|---|---|
committer | Uwe Klotz <uwe_klotz@web.de> | 2017-11-16 07:25:36 +0100 |
commit | 1ceb53d20b1077b86ff4969fec923221434ab8bd (patch) | |
tree | 0245b4e12d8800dbb5de0d6faa5d12b8bfa907c6 /build/osx/OSConsX.py | |
parent | 3d49037c844e4a37493729388a07d3cc95c24e3d (diff) |
Replace iteritems() with items()
Diffstat (limited to 'build/osx/OSConsX.py')
-rw-r--r-- | build/osx/OSConsX.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/osx/OSConsX.py b/build/osx/OSConsX.py index 13711f6351..25f9b3ba03 100644 --- a/build/osx/OSConsX.py +++ b/build/osx/OSConsX.py @@ -283,7 +283,7 @@ def build_app(target, source, env): print "Installing embedded libs:" - for ref, (abs, embedded) in locals.iteritems(): + for ref, (abs, embedded) in locals.items(): real_abs = os.path.realpath(abs) print "installing", real_abs, "to", embedded # NOTE(rryan): abs can be a symlink. we want to copy the binary it is @@ -522,7 +522,7 @@ def build_plist(target, source, env): </plist>""" inner_template = """<key>%s</key><string>%s</string>""" - inner = str.join('\n', [inner_template % (k,v) for k,v in d.iteritems()]) + inner = str.join('\n', [inner_template % (k,v) for k,v in d.items()]) plist = outer_template % inner f = open(str(target), "w") |