mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Dont import fcntl into calibre.__init__
This commit is contained in:
parent
ad2e6ded83
commit
c58e1db9a0
@ -18,7 +18,7 @@ except EnvironmentError:
|
|||||||
|
|
||||||
from calibre.constants import (iswindows, ismacos, islinux, isfrozen,
|
from calibre.constants import (iswindows, ismacos, islinux, isfrozen,
|
||||||
isbsd, preferred_encoding, __appname__, __version__, __author__,
|
isbsd, preferred_encoding, __appname__, __version__, __author__,
|
||||||
fcntl, plugins, filesystem_encoding, config_dir)
|
plugins, filesystem_encoding, config_dir)
|
||||||
from calibre.startup import get_debug_executable
|
from calibre.startup import get_debug_executable
|
||||||
from calibre.utils.icu import safe_chr
|
from calibre.utils.icu import safe_chr
|
||||||
from calibre.prints import prints
|
from calibre.prints import prints
|
||||||
@ -26,7 +26,7 @@ from calibre.prints import prints
|
|||||||
if False:
|
if False:
|
||||||
# Prevent pyflakes from complaining
|
# Prevent pyflakes from complaining
|
||||||
get_debug_executable, __appname__, islinux, __version__
|
get_debug_executable, __appname__, islinux, __version__
|
||||||
fcntl, isfrozen, __author__, isbsd, config_dir, plugins
|
isfrozen, __author__, isbsd, config_dir, plugins
|
||||||
|
|
||||||
_mt_inited = False
|
_mt_inited = False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user