[FIX] fcntl not needed on windows

bzr revid: al@openerp.com-20131015013700-eo0y09ft0p3w0fwe
This commit is contained in:
Antony Lesuisse 2013-10-15 03:37:00 +02:00
parent 74cbd7978f
commit ff9e439733
1 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,6 @@
#-----------------------------------------------------------
import datetime
import errno
import fcntl
import logging
import os
import os.path
@ -21,6 +20,11 @@ import time
import traceback
import werkzeug.serving
try:
import fcntl
except ImportError:
pass
try:
from setproctitle import setproctitle
except ImportError: