diff options
-rw-r--r-- | pym/portage/getbinpkg.py | 12 |
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") |