mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
...
This commit is contained in:
parent
d075eff758
commit
61120fa2b1
@ -7,7 +7,10 @@ __license__ = 'GPL v3'
|
|||||||
__copyright__ = '2015, Kovid Goyal <kovid at kovidgoyal.net>'
|
__copyright__ = '2015, Kovid Goyal <kovid at kovidgoyal.net>'
|
||||||
|
|
||||||
import os, httplib, hashlib, uuid, zlib, time, struct, repr as reprlib
|
import os, httplib, hashlib, uuid, zlib, time, struct, repr as reprlib
|
||||||
from select import PIPE_BUF
|
try:
|
||||||
|
from select import PIPE_BUF
|
||||||
|
except ImportError:
|
||||||
|
PIPE_BUF = 512 # windows
|
||||||
from collections import namedtuple
|
from collections import namedtuple
|
||||||
from io import BytesIO, DEFAULT_BUFFER_SIZE
|
from io import BytesIO, DEFAULT_BUFFER_SIZE
|
||||||
from itertools import chain, repeat, izip_longest
|
from itertools import chain, repeat, izip_longest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user