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
1 changed files with 1 additions and 1 deletions

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