summaryrefslogtreecommitdiffstats
path: root/test/AS/nasm.py
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-12 02:46:09 (GMT)
committerCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-12 02:46:09 (GMT)
commit056622b43309af38e4b6dcbbdcdd0e7b9b176a0d (patch)
tree462a54045bb7f37948fb4404fed7a33579bc0b07 /test/AS/nasm.py
parent055c8046afce036fdfad4bc8d60e4059da148f7d (diff)
downloadSCons-056622b43309af38e4b6dcbbdcdd0e7b9b176a0d.zip
SCons-056622b43309af38e4b6dcbbdcdd0e7b9b176a0d.tar.gz
SCons-056622b43309af38e4b6dcbbdcdd0e7b9b176a0d.tar.bz2
When iterating over dict.items(), we do not need a new list.
Diffstat (limited to 'test/AS/nasm.py')
-rw-r--r--test/AS/nasm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/AS/nasm.py b/test/AS/nasm.py
index b436a75..1733789 100644
--- a/test/AS/nasm.py
+++ b/test/AS/nasm.py
@@ -69,7 +69,7 @@ else:
# anyway...).
nasm_format = 'elf'
format_map = {}
-for k, v in list(format_map.items()):
+for k, v in format_map.items():
if sys.platform.find(k) != -1:
nasm_format = v
break