commit 273ab4d9d723553fd6ee2fcd90762928dacfce8a Author: Isis Lovecruft isis@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():
tor-commits@lists.torproject.org