Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix bug in script ending API

  • Loading branch information...
commit bedf7034ccdd42782c3bff44f1488d771d791a8d 1 parent 5cfd7e7
@hellais authored
View
3  ooni/ooniprobe.py
@@ -84,7 +84,8 @@ def runTest(test, options, global_options, reactor=reactor):
test.runTool()
return
- if test.end:
+ if test.ended:
+ print "Ending prematurely"
return
wgen = work.WorkGenerator(test,
View
2  ooni/plugins/daphn3.py
@@ -136,6 +136,8 @@ def experiment(self, args):
#return endpoint.connect(Daphn3ClientFactory)
def load_assets(self):
+ if not self.local_options:
+ return {}
if not self.steps:
print "Error: No assets!"
self.end()
View
1  ooni/plugoo/tests.py
@@ -26,6 +26,7 @@ class OONITest(object):
blocking = False
reactor = None
tool = False
+ ended = False
def __init__(self, local_options, global_options, report, ooninet=None,
reactor=None):
Please sign in to comment.
Something went wrong with that request. Please try again.