Commit 3719aac9 authored by Fred Drake's avatar Fred Drake

*Again*, try to remove that annoying warning about the FCNTL module.

Shane, I'm going to beg you to help me get my test setup cleaned up
tomorrow!
parent cc393366
......@@ -65,7 +65,7 @@ except:
# on exec. This makes it easier for folks who spawn long running
# processes from Zope code. Thanks to Dieter Maurer for this.
try:
import fcntl, FCNTL
import fcntl
if not (hasattr(fcntl, 'F_SETFD') and hasattr(fcntl, 'FD_CLOEXEC')):
# hack to be compatible with Python versions pre-2.2
import FCNTL
......
......@@ -65,7 +65,7 @@ except:
# on exec. This makes it easier for folks who spawn long running
# processes from Zope code. Thanks to Dieter Maurer for this.
try:
import fcntl, FCNTL
import fcntl
if not (hasattr(fcntl, 'F_SETFD') and hasattr(fcntl, 'FD_CLOEXEC')):
# hack to be compatible with Python versions pre-2.2
import FCNTL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment