[tor-commits] [oonib/master] note missing import

art at torproject.org art at torproject.org
Wed Apr 23 14:31:51 UTC 2014


commit 238ea56a4ecc9e255a73d29848d9d86dd910b7ef
Author: Darius Bacon <darius at wry.me>
Date:   Wed Apr 16 11:49:11 2014 -0700

    note missing import
---
 oonib/runner.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oonib/runner.py b/oonib/runner.py
index 10bcf65..fb5d090 100644
--- a/oonib/runner.py
+++ b/oonib/runner.py
@@ -35,7 +35,7 @@ if tuple(map(int, txtorcon_version.split('.'))) < (0,9,0):
     """
     def create_listener(self, proto):
         self._update_onion(self.hiddenservice.dir)
-        self.tcp_endpoint = TCP4ServerEndpoint(self.reactor, self.listen_port,
+        self.tcp_endpoint = TCP4ServerEndpoint(self.reactor, self.listen_port, # XXX missing import -- has this code ever been tested?
                 interface='127.0.0.1')
         d = self.tcp_endpoint.listen(self.protocolfactory)
         d.addCallback(self._add_attributes).addErrback(self._retry_local_port)





More information about the tor-commits mailing list