mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 14:04:57 +01:00
Unused imports
This commit is contained in:
parent
a09a45732c
commit
c6705ef189
1 changed files with 2 additions and 5 deletions
|
|
@ -5,11 +5,11 @@
|
|||
Provides platform independent temporary files that persist even after
|
||||
being closed.
|
||||
"""
|
||||
import tempfile, os, atexit, errno
|
||||
import tempfile, os, atexit
|
||||
from future_builtins import map
|
||||
|
||||
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):
|
||||
|
|
@ -292,6 +292,3 @@ def better_mktemp(*args, **kwargs):
|
|||
fd, path = tempfile.mkstemp(*args, **kwargs)
|
||||
os.close(fd)
|
||||
return path
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue