[ARVADOS] updated: a8a79114bdb1b02d5c071a1efce2796f633976ed
git at public.curoverse.com
git at public.curoverse.com
Wed Jun 24 09:59:19 EDT 2015
Summary of changes:
sdk/python/tests/performance/performance_profiler.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via a8a79114bdb1b02d5c071a1efce2796f633976ed (commit)
from eac37febf548d1d103661ded6e1a0e21e64ba7cd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit a8a79114bdb1b02d5c071a1efce2796f633976ed
Author: radhika <radhika at curoverse.com>
Date: Wed Jun 24 09:58:39 2015 -0400
6218: correct exception handling.
diff --git a/sdk/python/tests/performance/performance_profiler.py b/sdk/python/tests/performance/performance_profiler.py
index 4843610..7f0766e 100644
--- a/sdk/python/tests/performance/performance_profiler.py
+++ b/sdk/python/tests/performance/performance_profiler.py
@@ -38,8 +38,8 @@ def profiled(function):
pr.enable()
try:
ret = function(*args, **kwargs)
- except e:
- caught = e
+ except:
+ caught = sys.exc_info()[0]
pr.disable()
ps = pstats.Stats(pr, stream=outfile)
ps.print_stats()
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list