From 7f54d810eb488443f07f98f7e92449a0f7308c64 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 30 Dec 2016 23:23:52 -0500 Subject: [PATCH] remove unused+uncovered code --- src/wormhole/transit.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/wormhole/transit.py b/src/wormhole/transit.py index b9d887d..3eb8272 100644 --- a/src/wormhole/transit.py +++ b/src/wormhole/transit.py @@ -21,12 +21,6 @@ from . import ipaddrs def HKDF(skm, outlen, salt=None, CTXinfo=b""): return Hkdf(salt, skm).expand(CTXinfo, outlen) -def debug(msg): - if False: - print(msg) -def since(start): - return time.time() - start - class TransitError(Exception): pass @@ -154,7 +148,6 @@ class Connection(protocol.Protocol, policies.TimeoutMixin): self._waiting_reads = deque() def connectionMade(self): - debug("handle %r" % (self.transport,)) self.setTimeout(TIMEOUT) # does timeoutConnection() when it expires self.factory.connectionWasMade(self)