libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [07/33] libcloud git commit: Fix test initialization and remove unused modules from httplib_ssl
Date Tue, 05 Apr 2016 11:16:58 GMT
Fix test initialization and remove unused modules from httplib_ssl


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/10cea10f
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/10cea10f
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/10cea10f

Branch: refs/heads/requests
Commit: 10cea10fe58f5f620ae56769233097079591f9a3
Parents: 4191900
Author: anthony-shaw <anthony.p.shaw@gmail.com>
Authored: Sun Mar 27 11:56:28 2016 +1100
Committer: anthony-shaw <anthony.p.shaw@gmail.com>
Committed: Sun Mar 27 11:56:28 2016 +1100

----------------------------------------------------------------------
 libcloud/httplib_ssl.py    | 4 ----
 libcloud/test/test_init.py | 4 ++--
 2 files changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/10cea10f/libcloud/httplib_ssl.py
----------------------------------------------------------------------
diff --git a/libcloud/httplib_ssl.py b/libcloud/httplib_ssl.py
index 6e89a14..ce384d5 100644
--- a/libcloud/httplib_ssl.py
+++ b/libcloud/httplib_ssl.py
@@ -18,16 +18,12 @@ verification, depending on libcloud.security settings.
 """
 import os
 import socket
-import base64
 import warnings
 
 import requests
 
 import libcloud.security
-from libcloud.utils.py3 import b
-from libcloud.utils.py3 import httplib
 from libcloud.utils.py3 import urlparse
-from libcloud.utils.py3 import urlunquote
 
 
 __all__ = [

http://git-wip-us.apache.org/repos/asf/libcloud/blob/10cea10f/libcloud/test/test_init.py
----------------------------------------------------------------------
diff --git a/libcloud/test/test_init.py b/libcloud/test/test_init.py
index ad709d7..bd428ef 100644
--- a/libcloud/test/test_init.py
+++ b/libcloud/test/test_init.py
@@ -25,8 +25,8 @@ except ImportError:
     have_paramiko = False
 
 from libcloud import _init_once
-from libcloud.common.base import LoggingHTTPConnection
-from libcloud.common.base import LoggingHTTPSConnection
+from libcloud.utils.loggingconnection import LoggingHTTPConnection
+from libcloud.utils.loggingconnection import LoggingHTTPSConnection
 
 from libcloud.test import unittest
 


Mime
View raw message