Skip to content

Commit 54b76f3

Browse files
author
James William Pye
committed
Method is no longer used.
1 parent 5e65e8e commit 54b76f3

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

postgresql/copyman.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -515,9 +515,6 @@ def transmit(self):
515515
def accept(self, data):
516516
pass
517517

518-
def ready_for_more(self):
519-
return True
520-
521518
class ProtocolReceiver(Receiver):
522519
protocol = PROTOCOL_PQv3
523520
__slots__ = ('send', 'view')
@@ -540,9 +537,6 @@ def __enter__(self):
540537
def __exit__(self, typ, val, tb):
541538
pass
542539

543-
def ready_for_more(self):
544-
return not bool(self.view)
545-
546540
class StatementReceiver(ProtocolReceiver):
547541
_e_factors = ('statement', 'parameters',)
548542
__slots__ = ProtocolReceiver.__slots__ + _e_factors + ('xact',)
@@ -634,9 +628,6 @@ def transmit(self):
634628
def accept(self, lines):
635629
self.lines = lines
636630

637-
def ready_for_more(self):
638-
return self.lines == None
639-
640631
class CopyManager(Element, Iterator):
641632
"""
642633
A class for managing COPY operations.

0 commit comments

Comments
 (0)