remove unused+uncovered code
This commit is contained in:
parent
361952fdd9
commit
7f54d810eb
|
@ -21,12 +21,6 @@ from . import ipaddrs
|
||||||
def HKDF(skm, outlen, salt=None, CTXinfo=b""):
|
def HKDF(skm, outlen, salt=None, CTXinfo=b""):
|
||||||
return Hkdf(salt, skm).expand(CTXinfo, outlen)
|
return Hkdf(salt, skm).expand(CTXinfo, outlen)
|
||||||
|
|
||||||
def debug(msg):
|
|
||||||
if False:
|
|
||||||
print(msg)
|
|
||||||
def since(start):
|
|
||||||
return time.time() - start
|
|
||||||
|
|
||||||
class TransitError(Exception):
|
class TransitError(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@ -154,7 +148,6 @@ class Connection(protocol.Protocol, policies.TimeoutMixin):
|
||||||
self._waiting_reads = deque()
|
self._waiting_reads = deque()
|
||||||
|
|
||||||
def connectionMade(self):
|
def connectionMade(self):
|
||||||
debug("handle %r" % (self.transport,))
|
|
||||||
self.setTimeout(TIMEOUT) # does timeoutConnection() when it expires
|
self.setTimeout(TIMEOUT) # does timeoutConnection() when it expires
|
||||||
self.factory.connectionWasMade(self)
|
self.factory.connectionWasMade(self)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user