##// END OF EJS Templates
httppeer: use absolute_import
Gregory Szorc -
r25954:7bbdb78d default
parent child Browse files
Show More
@@ -6,12 +6,28 b''
6 6 # This software may be used and distributed according to the terms of the
7 7 # GNU General Public License version 2 or any later version.
8 8
9 from node import nullid
10 from i18n import _
9 from __future__ import absolute_import
10
11 import errno
12 import httplib
13 import os
14 import socket
11 15 import tempfile
12 import changegroup, statichttprepo, error, httpconnection, url, util, wireproto
13 import os, urllib, urllib2, zlib, httplib
14 import errno, socket
16 import urllib
17 import urllib2
18 import zlib
19
20 from .i18n import _
21 from .node import nullid
22 from . import (
23 changegroup,
24 error,
25 httpconnection,
26 statichttprepo,
27 url,
28 util,
29 wireproto,
30 )
15 31
16 32 def zgenerator(f):
17 33 zd = zlib.decompressobj()
General Comments 0
You need to be logged in to leave comments. Login now