[tor-commits] [ooni-probe/master] Print out the options that are missing.
art at torproject.org
art at torproject.org
Tue Aug 19 08:00:15 UTC 2014
commit 634fcf198efbddc4ac6f261d240c6ae2cfa4e81d
Author: Arturo Filastò <art at fuffa.org>
Date: Mon Aug 18 15:45:34 2014 +0200
Print out the options that are missing.
---
ooni/errors.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ooni/errors.py b/ooni/errors.py
index 3c9d86f..bcf8c95 100644
--- a/ooni/errors.py
+++ b/ooni/errors.py
@@ -261,6 +261,8 @@ class MissingRequiredOption(Exception):
self.net_test_loader = net_test_loader
self.message = message
+ def __str__(self):
+ return ','.join(self.message)
class OONIUsageError(usage.UsageError):
def __init__(self, net_test_loader):
More information about the tor-commits
mailing list