equal
deleted
inserted
replaced
7 # GNU General Public License version 2 or any later version. |
7 # GNU General Public License version 2 or any later version. |
8 |
8 |
9 from __future__ import absolute_import |
9 from __future__ import absolute_import |
10 |
10 |
11 import errno |
11 import errno |
12 import httplib |
|
13 import os |
12 import os |
14 import socket |
13 import socket |
15 import tempfile |
14 import tempfile |
16 import zlib |
15 import zlib |
17 |
16 |
25 url, |
24 url, |
26 util, |
25 util, |
27 wireproto, |
26 wireproto, |
28 ) |
27 ) |
29 |
28 |
|
29 httplib = util.httplib |
30 urlerr = util.urlerr |
30 urlerr = util.urlerr |
31 urlreq = util.urlreq |
31 urlreq = util.urlreq |
32 |
32 |
33 def zgenerator(f): |
33 def zgenerator(f): |
34 zd = zlib.decompressobj() |
34 zd = zlib.decompressobj() |