Skip to content

Commit

Permalink
fix pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed Jun 20, 2011
1 parent 15c7a6e commit 22cb244
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion http_parser/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ def readinto(self, b):
return 0

self._checkReadable()
self._checkClosed()
try:
self._checkClosed()
except AttributeError:
pass

while True:
buf = bytearray(DEFAULT_BUFFER_SIZE)
Expand Down

0 comments on commit 22cb244

Please sign in to comment.