From 049f67b8b12fdb4ef4c2c64ffb76f0c431a282ec Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 20 Sep 2009 23:14:08 +0000 Subject: [PATCH] Fix typos in http.client imports. svn path=/main/trunk/; revision=14307 --- pym/portage/getbinpkg.py | 12 ++++++------ 1 file 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") -- 2.26.2