[tor-commits] [ooni-probe/master] Changed log.msg to log.debug when we can't get the peer name in
art at torproject.org
art at torproject.org
Tue Apr 30 13:01:44 UTC 2013
commit 3461ad38a1e817daffa7d79f873db989d5e8efe9
Author: Isis Lovecruft <isis at torproject.org>
Date: Thu Feb 28 17:43:26 2013 +0000
Changed log.msg to log.debug when we can't get the peer name in
connectionSucceeded().
---
nettests/experimental/tls_handshake.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/nettests/experimental/tls_handshake.py b/nettests/experimental/tls_handshake.py
index 610cdff..d9d805f 100644
--- a/nettests/experimental/tls_handshake.py
+++ b/nettests/experimental/tls_handshake.py
@@ -345,8 +345,8 @@ class TLSHandshakeTest(nettest.NetTestCase):
log.msg("Connected to %s" % peer_name)
else:
log.debug("Couldn't get peer name from connection: %s" % host)
- log.msg("Connected to: %s" % host)
- log.msg("Connection state: %s " % connection.state_string())
+ log.msg("Connected to %s" % host)
+ log.debug("Connection state: %s " % connection.state_string())
return connection
@@ -423,6 +423,7 @@ class TLSHandshakeTest(nettest.NetTestCase):
else:
log.debug("connectionShutdown: expected connection, got %s"
% connection.__repr__())
+
return connection
def handleWantRead(connection):
More information about the tor-commits
mailing list