summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/rpmutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Tool/rpmutils.py')
-rw-r--r--src/engine/SCons/Tool/rpmutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/rpmutils.py b/src/engine/SCons/Tool/rpmutils.py
index 3eeed1d..d4db417 100644
--- a/src/engine/SCons/Tool/rpmutils.py
+++ b/src/engine/SCons/Tool/rpmutils.py
@@ -520,7 +520,7 @@ def updateRpmDicts(rpmrc, pyfile):
if l.startswith('# Start of rpmrc dictionaries'):
pm = 1
# Write data sections to single dictionaries
- for key, entries in data.items():
+ for key, entries in list(data.items()):
out.write("%s = {\n" % key)
for arch in sorted(entries.keys()):
out.write(" '%s' : ['%s'],\n" % (arch, "','".join(entries[arch])))