[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [ooni-probe/master] Revert "Do not raise an exception on no input processor."



commit f32a9073607420591c6aabd395589ddf2e1a1835
Author: aagbsn <aagbsn@xxxxxxxx>
Date:   Fri Nov 22 12:53:03 2013 +0000

    Revert "Do not raise an exception on no input processor."
    
    This reverts commit 77cfa98526f43919619dacf27a0f5c2644313985.
    
    Reason: this commit breaks writing reports.
---
 ooni/nettest.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ooni/nettest.py b/ooni/nettest.py
index f008654..2982f4d 100644
--- a/ooni/nettest.py
+++ b/ooni/nettest.py
@@ -677,7 +677,7 @@ class NetTestCase(object):
         anything that gets written to the object self.report[] will be added to
         the final test report.
         """
-        pass
+        raise NoPostProcessor
 
     def inputProcessor(self, filename):
         """



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits