Browse Source

Fix error condition using incorrect errno reference.
See Trac ticket #848 for more details.
http://bind10.isc.org/ticket/848

Shane Kerr 14 years ago
parent
commit
dc19181b46
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/python/isc/notify/notify_out.py

+ 1 - 1
src/lib/python/isc/notify/notify_out.py

@@ -300,7 +300,7 @@ class NotifyOut:
         try:
             r_fds, w, e = select.select(valid_socks, [], [], block_timeout)
         except select.error as err:
-            if err.args[0] != EINTR:
+            if err.args[0] != errno.EINTR:
                 return {}, {}
 
         if self._read_sock in r_fds: # user has called shutdown()