mercurial/httppeer.py
changeset 29455 0c741fd6158a
parent 29241 269f7ea08983
child 30241 cac4ca036dff
equal deleted inserted replaced
29449:5b71a8d7f7ff 29455:0c741fd6158a
     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()