Skip to content

Instantly share code, notes, and snippets.

@thruflo
Created January 17, 2010 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thruflo/279452 to your computer and use it in GitHub Desktop.
Save thruflo/279452 to your computer and use it in GitHub Desktop.
214c214,219
< self.io_loop.remove_handler(fd)
---
> try:
> self.io_loop.remove_handler(fd)
> except (OSError, IOError), e:
> if e[0] != errno.ENOENT:
> raise
>
223c228
< except OSError, e:
---
> except (OSError, IOError), e:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment