commit 77d60dc442839264215f55714c18f4b8c55aea4d Author: Arturo Filastò art@fuffa.org Date: Sat Dec 28 16:08:57 2013 +0100
Fix bug inside of oonid --- ooni/api/spec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ooni/api/spec.py b/ooni/api/spec.py index ecd514c..ed5cd44 100644 --- a/ooni/api/spec.py +++ b/ooni/api/spec.py @@ -11,7 +11,7 @@ from cyclone import web, escape
from ooni.reporter import YAMLReporter, OONIBReporter, collector_supported from ooni import errors -from ooni.nettest import NetTestLoader, MissingRequiredOption +from ooni.nettest import NetTestLoader from ooni.settings import config
class InvalidInputFilename(Exception): @@ -182,7 +182,7 @@ class StartTest(ORequestHandler): os.close(fd) os.remove(path)
- except MissingRequiredOption, option_name: + except errors.MissingRequiredOption, option_name: self.write({'error': 'Missing required option: "%s"' % option_name}) except usage.UsageError, e:
tor-commits@lists.torproject.org