diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-12 02:46:09 (GMT) |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-12 02:46:09 (GMT) |
commit | 056622b43309af38e4b6dcbbdcdd0e7b9b176a0d (patch) | |
tree | 462a54045bb7f37948fb4404fed7a33579bc0b07 /test/QT | |
parent | 055c8046afce036fdfad4bc8d60e4059da148f7d (diff) | |
download | SCons-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/QT')
-rw-r--r-- | test/QT/QTFLAGS.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/QT/QTFLAGS.py b/test/QT/QTFLAGS.py index e29ee80..f6aa00f 100644 --- a/test/QT/QTFLAGS.py +++ b/test/QT/QTFLAGS.py @@ -147,7 +147,7 @@ test.must_exist(['work1', 'mmmmocFromH.cxx'], ['work1', 'mmmanother_ui_file.cxx']) def _flagTest(test,fileToContentsStart): - for f,c in list(fileToContentsStart.items()): + for f,c in fileToContentsStart.items(): if test.read(test.workpath('work1', f)).find(c) != 0: return 1 return 0 |