From 14b0b0d0085c310167607807871c2c5c5538ca67 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 11 Aug 2016 15:20:50 +0100 Subject: [PATCH] Remove unused ReadMore(). --- econtext/core.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/econtext/core.py b/econtext/core.py index fbd8e98c..62f6c588 100644 --- a/econtext/core.py +++ b/econtext/core.py @@ -251,9 +251,6 @@ class BasicStream(object): self.read_side.close() self.write_side.close() - def ReadMore(self): - return True - def WriteMore(self): return False @@ -573,7 +570,7 @@ class Broker(object): IOLOG.debug('_UpdateStream(%r)', stream) self._lock.acquire() try: - if stream.read_side.fd is not None and stream.ReadMore(): + if stream.read_side.fd is not None: self._readers.add(stream.read_side) else: self._readers.discard(stream.read_side)