Show More
@@ -7,10 +7,23 b'' | |||||
7 | # This software may be used and distributed according to the terms of the |
|
7 | # This software may be used and distributed according to the terms of the | |
8 | # GNU General Public License version 2 or any later version. |
|
8 | # GNU General Public License version 2 or any later version. | |
9 |
|
9 | |||
10 | import urllib, urllib2, httplib, os, socket, cStringIO, base64 |
|
10 | from __future__ import absolute_import | |
11 | from i18n import _ |
|
11 | ||
12 | import keepalive, util, sslutil |
|
12 | import base64 | |
13 | import httpconnection as httpconnectionmod |
|
13 | import cStringIO | |
|
14 | import httplib | |||
|
15 | import os | |||
|
16 | import socket | |||
|
17 | import urllib | |||
|
18 | import urllib2 | |||
|
19 | ||||
|
20 | from .i18n import _ | |||
|
21 | from . import ( | |||
|
22 | httpconnection as httpconnectionmod, | |||
|
23 | keepalive, | |||
|
24 | sslutil, | |||
|
25 | util, | |||
|
26 | ) | |||
14 |
|
27 | |||
15 | class passwordmgr(urllib2.HTTPPasswordMgrWithDefaultRealm): |
|
28 | class passwordmgr(urllib2.HTTPPasswordMgrWithDefaultRealm): | |
16 | def __init__(self, ui): |
|
29 | def __init__(self, ui): |
General Comments 0
You need to be logged in to leave comments.
Login now