[Piglit] [PATCH v3 2/28] framework/profile: Drop unneeded except
Dylan Baker
dylan at pnwbakers.com
Mon Oct 31 17:49:58 UTC 2016
A try/finally works better here anyway.
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
framework/profile.py | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/framework/profile.py b/framework/profile.py
index 0d2e1cf..f63180a 100644
--- a/framework/profile.py
+++ b/framework/profile.py
@@ -346,14 +346,8 @@ class TestProfile(object):
# pool
run_threads(single, (x for x in six.iteritems(self.test_list)
if not x[1].run_concurrent))
-
- log.get().summary()
- except (KeyboardInterrupt, Exception):
- # In the event that C-c is pressed, or any sort of exception would
- # generate a stacktrace, print the status line so that it's clear,
- # then die. Pressing C-c again will kill immediately.
+ finally:
log.get().summary()
- raise
self.teardown()
if self._monitoring.abort_needed:
--
git-series 0.8.10
More information about the Piglit
mailing list