diff -r 4d11fde55cc5 -r 34cc8b84407f hgext/inotify/linuxserver.py --- a/hgext/inotify/linuxserver.py Wed Jul 14 22:59:57 2010 -0300 +++ b/hgext/inotify/linuxserver.py Wed Jul 14 23:03:21 2010 -0300 @@ -117,7 +117,7 @@ try: events = cls.poll.poll(timeout) except select.error, err: - if err[0] == errno.EINTR: + if err.args[0] == errno.EINTR: continue raise if events: