mirror of https://github.com/celery/kombu.git
epoll: Ignore permission errors at unregister
Conflicts: kombu/utils/eventio.py
This commit is contained in:
parent
61125cbaea
commit
6c5f1a29b3
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue