Skip to content

Commit

Permalink
Merge pull request #35 from scop/interrupted-refs
Browse files Browse the repository at this point in the history
Fix InterruptedException references
  • Loading branch information
jasonrbriggs committed Jul 11, 2015
2 parents f6a800f + 3362834 commit b886f0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stomp/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def __read(self):
try:
try:
c = self.receive()
except InterruptedException:
except exception.InterruptedException:
log.debug("socket read interrupted, restarting")
continue
except Exception:
Expand Down Expand Up @@ -609,7 +609,7 @@ def receive(self):
_, e, _ = sys.exc_info()
if get_errno(e) in (errno.EAGAIN, errno.EINTR):
log.debug("socket read interrupted, restarting")
raise InterruptedException()
raise exception.InterruptedException()
raise


Expand Down

0 comments on commit b886f0c

Please sign in to comment.