[ooni-probe/master] * Fixed logging error in MissingAssetException class.

4 Oct
2012
4 Oct
'12
2:41 p.m.
commit 7fdca5a4e0d314ee56b1ecb3ee9c8bf85c45eed4 Author: Isis Lovecruft <isis@torproject.org> Date: Thu Oct 4 14:26:24 2012 +0000 * Fixed logging error in MissingAssetException class. --- ooni/plugoo/assets.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ooni/plugoo/assets.py b/ooni/plugoo/assets.py index 3974230..205d60d 100644 --- a/ooni/plugoo/assets.py +++ b/ooni/plugoo/assets.py @@ -57,5 +57,6 @@ class Asset: class MissingAssetException(Exception): """Raised when an Asset necessary for running the Test is missing.""" def __init__(self, error_message): - log.msg(error_message) + print error_message + import sys return sys.exit()
4609
Age (days ago)
4609
Last active (days ago)
0 comments
1 participants
participants (1)
-
isis@torproject.org