[tor-commits] [ooni-probe/master] Fix missing attribute error that happens when running test as root

art at torproject.org art at torproject.org
Wed Apr 1 20:29:42 UTC 2015


commit 3b45c054369ddfe876e0fff554c1f265d4076ad0
Author: Arturo Filastò <art at fuffa.org>
Date:   Fri Mar 27 16:26:22 2015 +0100

    Fix missing attribute error that happens when running test as root
---
 ooni/nettest.py |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ooni/nettest.py b/ooni/nettest.py
index c33750f..9eb6f37 100644
--- a/ooni/nettest.py
+++ b/ooni/nettest.py
@@ -132,6 +132,7 @@ class NetTestLoader(object):
     method_prefix = 'test'
     collector = None
     requiresTor = False
+    reportID = None
 
     def __init__(self, options, test_file=None, test_string=None):
         self.onionInputRegex = re.compile(





More information about the tor-commits mailing list