[FIX] fcntl not needed on windows
bzr revid: al@openerp.com-20131015013700-eo0y09ft0p3w0fwe
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user