[FIX] fcntl not available on windows

bzr revid: al@openerp.com-20120925000946-7qikupf5rt2hiwx4
This commit is contained in:
Antony Lesuisse 2012-09-25 02:09:46 +02:00
parent 2218270a53
commit 26780da2ef
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,10 @@
# TODO rename class: Multicorn -> Arbiter ?
#-----------------------------------------------------------
import errno
import fcntl
try:
import fcntl
except ImportError:
fcntl = None
import psutil
import random
import resource