don't use bare except

pull/2995/head
Robert Doolittle 7 years ago
parent 60cfb87e69
commit 9b27f07002
  1. 3
      mesonbuild/mtest.py

@ -265,9 +265,6 @@ class TestHarness:
except KeyboardInterrupt:
mlog.warning("CTRL-C detected while running %s" % (test.name))
kill_test = True
except:
mlog.warning("Unknown error while running %s" % (test.name))
kill_test = True
if kill_test or timed_out:
# Python does not provide multiplatform support for

Loading…
Cancel
Save