diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-05-02 23:30:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-02 23:30:29 +0300 |
commit | 1f4023fa47803458700e52352dec51f3f85fa6c1 (patch) | |
tree | e4b2790ff92404ad6f939832922770b9a359908e /run_project_tests.py | |
parent | 06bfc2dab61c5bf79265a8db777b02732ee86ecf (diff) | |
parent | 74b535fea74843c83944e9f22d40e6259ca105b8 (diff) | |
download | meson-1f4023fa47803458700e52352dec51f3f85fa6c1.zip meson-1f4023fa47803458700e52352dec51f3f85fa6c1.tar.gz meson-1f4023fa47803458700e52352dec51f3f85fa6c1.tar.bz2 |
Merge pull request #5311 from mensinda/flake8Plugins
Added flake8 plugins and some code fixes
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-x | run_project_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index 29716aa..324d824 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -778,7 +778,7 @@ def detect_system_compiler(): try: comp = env.compiler_from_language(lang, env.is_cross_build()) details = '%s %s' % (' '.join(comp.get_exelist()), comp.get_version_string()) - except: + except mesonlib.MesonException: comp = None details = 'not found' print('%-7s: %s' % (lang, details)) @@ -823,7 +823,7 @@ if __name__ == '__main__': print(l, '\n') except UnicodeError: print(l.encode('ascii', errors='replace').decode(), '\n') - for name, dirs, skip in all_tests: + for name, dirs, _ in all_tests: dirs = (x.name for x in dirs) for k, g in itertools.groupby(dirs, key=lambda x: x.split()[0]): tests = list(g) |