You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2013/11/17 21:05:32 UTC

[06/17] git commit: Remove unused imports which are not part of the compute API from libcloud.compute.base.

Remove unused imports which are not part of the compute API from
libcloud.compute.base.


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

Branch: refs/heads/trunk
Commit: 32cc7f43954f0371d83465ea44037531750bc110
Parents: cd5f9f1
Author: Tomaz Muraus <to...@apache.org>
Authored: Sun Nov 17 20:18:42 2013 +0100
Committer: Tomaz Muraus <to...@apache.org>
Committed: Sun Nov 17 20:18:42 2013 +0100

----------------------------------------------------------------------
 libcloud/compute/base.py | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/32cc7f43/libcloud/compute/base.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/base.py b/libcloud/compute/base.py
index 2172e6b..662d51c 100644
--- a/libcloud/compute/base.py
+++ b/libcloud/compute/base.py
@@ -31,13 +31,8 @@ import libcloud.compute.ssh
 from libcloud.pricing import get_size_price
 from libcloud.compute.types import NodeState, DeploymentError
 from libcloud.compute.ssh import SSHClient
-
-# @@TR: are the imports below part of the public api for this
-# module? They aren't used in here ...
-from libcloud.common.base import ConnectionKey, ConnectionUserAndKey
+from libcloud.common.base import ConnectionKey
 from libcloud.common.base import BaseDriver
-from libcloud.httplib_ssl import LibcloudHTTPSConnection
-from libcloud.common.base import LibcloudHTTPConnection
 from libcloud.common.types import LibcloudError
 
 
@@ -57,13 +52,7 @@ __all__ = [
     "NodeLocation",
     "NodeAuthSSHKey",
     "NodeAuthPassword",
-    "NodeDriver",
-
-    # @@TR: do the following need exporting?
-    "ConnectionKey",
-    "ConnectionUserAndKey",
-    "LibcloudHTTPSConnection",
-    "LibcloudHTTPConnection"
+    "NodeDriver"
 ]