summaryrefslogtreecommitdiff
path: root/src/test_files.py
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-11 18:46:09 -0800
committerCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-11 18:46:09 -0800
commitc48ebf8c67a83768ab094e9572f0fc69214450ba (patch)
tree462a54045bb7f37948fb4404fed7a33579bc0b07 /src/test_files.py
parente45ba445a1140cfa4d7836f54f2e6b8d9a5c7325 (diff)
downloadscons-c48ebf8c67a83768ab094e9572f0fc69214450ba.tar.gz
When iterating over dict.items(), we do not need a new list.
Diffstat (limited to 'src/test_files.py')
-rw-r--r--src/test_files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test_files.py b/src/test_files.py
index ef276069..1eee11d9 100644
--- a/src/test_files.py
+++ b/src/test_files.py
@@ -78,7 +78,7 @@ check = {
missing = []
no_result = []
-for directory, check_list in list(check.items()):
+for directory, check_list in check.items():
if os.path.exists(directory):
for c in check_list:
f = os.path.join(directory, c)