summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-09-20 23:14:08 +0000
committerZac Medico <zmedico@gentoo.org>2009-09-20 23:14:08 +0000
commit049f67b8b12fdb4ef4c2c64ffb76f0c431a282ec (patch)
treecc8758e50657adf689751701f1888d4ba5027b69
parentecb528dae8284f64b7cbac1ad349f34b8c7e8b2d (diff)
downloadportage-049f67b8b12fdb4ef4c2c64ffb76f0c431a282ec.tar.gz
portage-049f67b8b12fdb4ef4c2c64ffb76f0c431a282ec.tar.bz2
portage-049f67b8b12fdb4ef4c2c64ffb76f0c431a282ec.zip
Fix typos in http.client imports.
svn path=/main/trunk/; revision=14307
-rw-r--r--pym/portage/getbinpkg.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/pym/portage/getbinpkg.py b/pym/portage/getbinpkg.py
index c3994d26d..b5d24c857 100644
--- a/pym/portage/getbinpkg.py
+++ b/pym/portage/getbinpkg.py
@@ -40,14 +40,14 @@ except ImportError as e:
try:
try:
from http.client import HTTPConnection as http_client_HTTPConnection
- from http.client import HTTPSConnection as http_client_HTTPConnection
- from http.client import BadStatusLine as http_client_HTTPConnection
- from http.client import ResponseNotReady as http_client_HTTPConnection
+ from http.client import HTTPSConnection as http_client_HTTPSConnection
+ from http.client import BadStatusLine as http_client_BadStatusLine
+ from http.client import ResponseNotReady as http_client_ResponseNotReady
except ImportError:
from httplib import HTTPConnection as http_client_HTTPConnection
- from httplib import HTTPSConnection as http_client_HTTPConnection
- from httplib import BadStatusLine as http_client_HTTPConnection
- from httplib import ResponseNotReady as http_client_HTTPConnection
+ from httplib import HTTPSConnection as http_client_HTTPSConnection
+ from httplib import BadStatusLine as http_client_BadStatusLine
+ from httplib import ResponseNotReady as http_client_ResponseNotReady
except ImportError as e:
sys.stderr.write(colorize("BAD","!!! CANNOT IMPORT HTTP.CLIENT: ")+str(e)+"\n")