Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove unused method Connection.consume

  • Loading branch information...
commit 78378633845d4bc737b05991f7acb7b201e28fec 1 parent bbed682
@evilkost authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 brukva/client.py
View
6 brukva/client.py
@@ -110,12 +110,6 @@ def write(self, data):
else:
self._stream.write(data)
- def consume(self, length):
- if not self._stream:
- self.on_reconnect()
- if not self._stream:
- raise ConnectionError('Tried to consume from non-existent connection')
- self._stream.read_bytes(length, NOOP_CB)
def read(self, length, callback):
try:
Please sign in to comment.
Something went wrong with that request. Please try again.