benjaminws / python-stomp (http://just-another.net/python-stomp)

Implementation of the STOMP protocol in Python.

Clone this repository (size: 147.3 KB): HTTPS / SSH
$ hg clone http://bitbucket.org/benjaminws/python-stomp/
commit 111: 32236e424665
parent 110: 25e860fb9420
branch: default
tags: stompy-0.2.4
Ok, *really* fix issue #4.
Benjamin Smith / benjaminws
3 months ago

Changed (Δ6 bytes):

raw changeset »

stompy/frame.py (1 lines added, 1 lines removed)

Up to file-list stompy/frame.py:

@@ -260,7 +260,7 @@ class Frame(object):
260
260
                try:
261
261
                    partial = self.sock.recv(1)
262
262
                except socket.error, exc:
263
                    if exc[0].errno == EAGAIN:
263
                    if exc[0] == EAGAIN:
264
264
                        if not buffer or buffer == '\n':
265
265
                            return None
266
266
                        continue