hgext/inotify/linuxserver.py
changeset 11567 34cc8b84407f
parent 10494 08064db9f005
child 14179 64481eee6215
--- 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: