diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-11 18:46:09 -0800 |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-11 18:46:09 -0800 |
commit | c48ebf8c67a83768ab094e9572f0fc69214450ba (patch) | |
tree | 462a54045bb7f37948fb4404fed7a33579bc0b07 /src/test_files.py | |
parent | e45ba445a1140cfa4d7836f54f2e6b8d9a5c7325 (diff) | |
download | scons-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.py | 2 |
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) |