epoll: Ignore permission errors at unregister

Conflicts:
	kombu/utils/eventio.py
This commit is contained in:
Ask Solem 2014-11-18 22:59:54 +00:00
parent 61125cbaea
commit 6c5f1a29b3
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ class _epoll(object):
except (socket.error, ValueError, KeyError, TypeError): except (socket.error, ValueError, KeyError, TypeError):
pass pass
except (IOError, OSError) as exc: except (IOError, OSError) as exc:
if getattr(exc, 'errno', None) != errno.ENOENT: if getattr(exc, 'errno', None) not in (errno.ENOENT, errno.EPERM):
raise raise
def poll(self, timeout): def poll(self, timeout):