[Piglit] [PATCH v2 2/26] framework/profile: Drop unneeded except
Dylan Baker
dylan at pnwbakers.com
Thu Oct 27 21:31:30 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 1edab03..53a17b7 100644
--- a/framework/profile.py
+++ b/framework/profile.py
@@ -345,14 +345,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
if self._monitoring.abort_needed:
raise exceptions.PiglitAbort(self._monitoring.error_message)
--
git-series 0.8.10
More information about the Piglit
mailing list