diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-12 00:08:14 +0000 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-12 00:08:14 +0000 |
commit | e45ba445a1140cfa4d7836f54f2e6b8d9a5c7325 (patch) | |
tree | a0baa510eabe64a7f50d3dd20e5640ac37b0eafa /QMTest | |
parent | a1f627c456348ada5d055a0096acf3eeb18145ac (diff) | |
parent | 91e603b59ad1dee12ec398771d8bd62d70925283 (diff) | |
download | scons-e45ba445a1140cfa4d7836f54f2e6b8d9a5c7325.tar.gz |
Merged in rodrigc/scons (pull request #404)
exec() must take a string, not a file object.
Diffstat (limited to 'QMTest')
-rw-r--r-- | QMTest/TestCommon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/QMTest/TestCommon.py b/QMTest/TestCommon.py index cd9e990f..c1adc376 100644 --- a/QMTest/TestCommon.py +++ b/QMTest/TestCommon.py @@ -582,7 +582,7 @@ class TestCommon(TestCmd): """ files = [is_List(x) and os.path.join(*x) or x for x in files] existing, missing = separate_files(files) - writable = list(filter(is_writable, existing)) + writable = [file for file in existing if is_writable(file)] if missing: print("Missing files: `%s'" % "', `".join(missing)) if writable: |