commit 634fcf198efbddc4ac6f261d240c6ae2cfa4e81d Author: Arturo Filastò art@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):
tor-commits@lists.torproject.org