mirror of https://github.com/celery/kombu.git
Silence all exceptions from `import ctypes` to match behaviour
of the standard Python uuid module, and avoid passing on MemoryError exceptions on SELinux-enabled systems. Closes #52. Closes #53
This commit is contained in:
parent
21b8faa1a0
commit
9750376f19
|
@ -5,7 +5,7 @@ from uuid import UUID, uuid4 as _uuid4, _uuid_generate_random
|
|||
|
||||
try:
|
||||
import ctypes
|
||||
except ImportError:
|
||||
except:
|
||||
ctypes = None # noqa
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue