commit 7dcd509e3e81789362bd07e878aac2d04b26509b Author: Arturo Filastò <a...@fuffa.org> Date: Mon Nov 4 10:01:57 2013 +0100
Fix bug in exception printing. --- ooni/oonibclient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ooni/oonibclient.py b/ooni/oonibclient.py index 1b11347..4853047 100644 --- a/ooni/oonibclient.py +++ b/ooni/oonibclient.py @@ -219,8 +219,8 @@ class OONIBClient(object): test_helper = yield self.queryBackend('POST', '/bouncer', query={'test-helpers': test_helper_names}) - except Exception, e: - log.exception(e) + except Exception, exc: + log.exception(exc) raise e.CouldNotFindTestHelper if not test_helper:
_______________________________________________ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits