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

[tor-commits] [ooni-probe/master] Documentation fixes



commit d53407d4d76fa7ffaa9c0f41d9a1f6115c4790f9
Author: Arturo Filastò <art@xxxxxxxxx>
Date:   Sat May 2 16:54:33 2015 +0200

    Documentation fixes
---
 docs/source/nettests/ooni.nettests.blocking.rst     |    2 +-
 docs/source/nettests/ooni.nettests.manipulation.rst |    2 +-
 ooni/nettests/examples/example_scapyt_yield.py      |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/source/nettests/ooni.nettests.blocking.rst b/docs/source/nettests/ooni.nettests.blocking.rst
index 5948159..1648f19 100644
--- a/docs/source/nettests/ooni.nettests.blocking.rst
+++ b/docs/source/nettests/ooni.nettests.blocking.rst
@@ -20,7 +20,7 @@ ooni.nettests blocking Package
 :mod:`ooni.nettests.blocking.tcpconnect` Module
 -----------------------------------------------
 
-.. automodule:: ooni.nettests.blocking.tcpconnect
+.. automodule:: ooni.nettests.blocking.tcp_connect
      :members:
      :undoc-members:
      :show-inheritance:
diff --git a/docs/source/nettests/ooni.nettests.manipulation.rst b/docs/source/nettests/ooni.nettests.manipulation.rst
index 9340cf7..1e0f8c8 100644
--- a/docs/source/nettests/ooni.nettests.manipulation.rst
+++ b/docs/source/nettests/ooni.nettests.manipulation.rst
@@ -17,7 +17,7 @@ ooni.nettests manipulation Package
      :undoc-members:
      :show-inheritance:
 
-:mod:`ooni.nettests.manipulation.dnsspoof` Module
+:mod:`ooni.nettests.manipulation.dns_spoof` Module
 --------------------------------------------------
 
 .. automodule:: ooni.nettests.manipulation.dnsspoof
diff --git a/ooni/nettests/examples/example_scapyt_yield.py b/ooni/nettests/examples/example_scapyt_yield.py
index 311b5aa..5877aab 100644
--- a/ooni/nettests/examples/example_scapyt_yield.py
+++ b/ooni/nettests/examples/example_scapyt_yield.py
@@ -10,7 +10,7 @@ from scapy.all import IP, ICMP
 from ooni.templates import scapyt
 
 class UsageOptions(usage.Options):
-    optParameters = [['target', 't', self.localOptions['target'], "Specify the target to ping"]]
+    optParameters = [['target', 't', None, "Specify the target to ping"]]
 
 class ExampleICMPPingScapyYield(scapyt.BaseScapyTest):
     name = "Example ICMP Ping Test"

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