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

[tor-commits] [ooni-probe/master] Remove references to optFlags in runner



commit 6f0af75eb0e5cae52a03932c40a4c0562d64accc
Author: Arturo Filastò <art@xxxxxxxxx>
Date:   Tue Nov 20 21:21:02 2012 +0100

    Remove references to optFlags in runner
---
 ooni/nettest.py |    2 ++
 ooni/runner.py  |    3 ---
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/ooni/nettest.py b/ooni/nettest.py
index 0394564..4529c14 100644
--- a/ooni/nettest.py
+++ b/ooni/nettest.py
@@ -80,6 +80,8 @@ class NetTestCase(object):
 
     usageOptions = None
 
+    optParameters = None
+
     requiredOptions = []
     requiresRoot = False
 
diff --git a/ooni/runner.py b/ooni/runner.py
index 40aa40c..5e6f35e 100644
--- a/ooni/runner.py
+++ b/ooni/runner.py
@@ -66,9 +66,6 @@ def processTest(obj, cmd_line_options):
             log.debug("Got optParameters")
             class Options(usage.Options):
                 optParameters = obj.optParameters
-                if obj.optFlags:
-                    log.debug("Got optFlags")
-                    optFlags = obj.optFlags
             options = Options()
 
         if options:



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