Skip to content

Commit

Permalink
Get rid of unused code, you can't really flush a TCP socket.
Browse files Browse the repository at this point in the history
  • Loading branch information
barryp@macbook.home committed Jan 15, 2009
1 parent c82360b commit 4093d2e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions amqplib/client_0_8/method_framing.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,5 +274,3 @@ def write_method(self, channel, method_sig, args, content=None):
while body:
payload, body = body[:self.frame_max - 8], body[self.frame_max -8:]
self.dest.write_frame(3, channel, payload)

self.dest.flush()
8 changes: 0 additions & 8 deletions amqplib/client_0_8/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,6 @@ def close(self):
self.sock = None


def flush(self):
"""
Called by MethodWriter to indicate a good time to send all data.
"""
pass


def read_frame(self):
"""
Read an AMQP frame.
Expand Down

0 comments on commit 4093d2e

Please sign in to comment.