mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Unused imports
This commit is contained in:
parent
a09a45732c
commit
c6705ef189
@ -5,11 +5,11 @@ __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
|
|||||||
Provides platform independent temporary files that persist even after
|
Provides platform independent temporary files that persist even after
|
||||||
being closed.
|
being closed.
|
||||||
"""
|
"""
|
||||||
import tempfile, os, atexit, errno
|
import tempfile, os, atexit
|
||||||
from future_builtins import map
|
from future_builtins import map
|
||||||
|
|
||||||
from calibre.constants import (__version__, __appname__, filesystem_encoding,
|
from calibre.constants import (__version__, __appname__, filesystem_encoding,
|
||||||
get_unicode_windows_env_var, iswindows, get_windows_temp_path, isosx, cache_dir)
|
get_unicode_windows_env_var, iswindows, get_windows_temp_path, isosx)
|
||||||
|
|
||||||
|
|
||||||
def cleanup(path):
|
def cleanup(path):
|
||||||
@ -292,6 +292,3 @@ def better_mktemp(*args, **kwargs):
|
|||||||
fd, path = tempfile.mkstemp(*args, **kwargs)
|
fd, path = tempfile.mkstemp(*args, **kwargs)
|
||||||
os.close(fd)
|
os.close(fd)
|
||||||
return path
|
return path
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user