1
0
mirror of https://github.com/django/django.git synced 2025-02-04 22:47:53 +00:00

Fixed #21546 -- Strengthened kqueue detection.

Thanks Loic Bistuer.
This commit is contained in:
Aymeric Augustin 2013-12-04 10:11:42 +01:00
parent 12615dab78
commit 4d738fcc3b

View File

@ -82,7 +82,7 @@ try:
import subprocess
command = ["sysctl", "-n", "kern.maxfilesperproc"]
NOFILES_KERN = int(subprocess.check_output(command).strip())
except (AttributeError, OSError):
except Exception:
USE_KQUEUE = False
RUN_RELOADER = True