[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Add self.host to the inputProcessor().
commit 273ab4d9d723553fd6ee2fcd90762928dacfce8a
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Mon Apr 22 00:44:56 2013 +0000
Add self.host to the inputProcessor().
---
nettests/experimental/tls_handshake.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/nettests/experimental/tls_handshake.py b/nettests/experimental/tls_handshake.py
index eab721c..3585657 100644
--- a/nettests/experimental/tls_handshake.py
+++ b/nettests/experimental/tls_handshake.py
@@ -202,6 +202,8 @@ class HandshakeTest(nettest.NetTestCase):
return (str(addr), int(port))
def inputProcessor(self, file=None):
+ if self.host:
+ yield self.splitInput(self.host)
if os.path.isfile(file):
with open(file) as fh:
for line in fh.readlines():
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits