From e689bfcf4ffd01739ad58ae5773e0d22ad254247 Mon Sep 17 00:00:00 2001 From: meejah Date: Sat, 10 Apr 2021 18:33:47 -0600 Subject: [PATCH] remove debug, doesn't make sense anymore --- src/wormhole_transit_relay/transit_server.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/wormhole_transit_relay/transit_server.py b/src/wormhole_transit_relay/transit_server.py index bc16b86..15d235d 100644 --- a/src/wormhole_transit_relay/transit_server.py +++ b/src/wormhole_transit_relay/transit_server.py @@ -114,14 +114,6 @@ class TransitConnection(LineReceiver): # receiver can handle it. self._state.got_bytes(data) - def disconnect_error(self): - # we haven't finished the handshake, so there are no tokens tracking - # us - self.transport.loseConnection() - # XXX probably should be logged by state? - if self.factory.transit._debug_log: - log.msg("transitFailed %r" % self) - def disconnect_redundant(self): # this is called if a buddy connected and we were found unnecessary. # Any token-tracking cleanup will have been done before we're called. @@ -175,7 +167,6 @@ class Transit(object): self.active_connections = ActiveConnections() self.pending_requests = PendingRequests(self.active_connections) self.usage = usage - self._debug_log = False self._timestamp = get_timestamp self._rebooted = self._timestamp()