[tor-commits] [ooni-probe/master] Add self.host to the inputProcessor().
art at torproject.org
art at torproject.org
Tue Apr 30 13:01:44 UTC 2013
commit 273ab4d9d723553fd6ee2fcd90762928dacfce8a
Author: Isis Lovecruft <isis at torproject.org>
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():
More information about the tor-commits
mailing list