##// END OF EJS Templates
httpconnection: use absolute_import
Gregory Szorc -
r27521:b1adf32b default
parent child Browse files
Show More
@@ -7,16 +7,21 b''
7 #
7 #
8 # This software may be used and distributed according to the terms of the
8 # This software may be used and distributed according to the terms of the
9 # GNU General Public License version 2 or any later version.
9 # GNU General Public License version 2 or any later version.
10
11 from __future__ import absolute_import
12
10 import logging
13 import logging
14 import os
11 import socket
15 import socket
12 import urllib
16 import urllib
13 import urllib2
17 import urllib2
14 import os
15
18
16 from mercurial import httpclient
19 from .i18n import _
17 from mercurial import sslutil
20 from . import (
18 from mercurial import util
21 httpclient,
19 from mercurial.i18n import _
22 sslutil,
23 util,
24 )
20
25
21 # moved here from url.py to avoid a cycle
26 # moved here from url.py to avoid a cycle
22 class httpsendfile(object):
27 class httpsendfile(object):
@@ -105,7 +105,6 b''
105 mercurial/httpclient/__init__.py not using absolute_import
105 mercurial/httpclient/__init__.py not using absolute_import
106 mercurial/httpclient/_readers.py not using absolute_import
106 mercurial/httpclient/_readers.py not using absolute_import
107 mercurial/httpclient/socketutil.py not using absolute_import
107 mercurial/httpclient/socketutil.py not using absolute_import
108 mercurial/httpconnection.py not using absolute_import
109 mercurial/keepalive.py requires print_function
108 mercurial/keepalive.py requires print_function
110 mercurial/localrepo.py not using absolute_import
109 mercurial/localrepo.py not using absolute_import
111 mercurial/lsprof.py requires print_function
110 mercurial/lsprof.py requires print_function
General Comments 0
You need to be logged in to leave comments. Login now