Commits

Benjamin Smith committed 32236e4

Ok, *really* fix issue #4.

Comments (0)

Files changed (1)

                 try:
                     partial = self.sock.recv(1)
                 except socket.error, exc:
-                    if exc[0].errno == EAGAIN:
+                    if exc[0] == EAGAIN:
                         if not buffer or buffer == '\n':
                             return None
                         continue