libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [3/3] libcloud git commit: Fixing up documentation Closes #699
Date Thu, 11 Feb 2016 02:29:25 GMT
Fixing up documentation
Closes #699


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

Branch: refs/heads/trunk
Commit: a7dbbf37ddb64f87618f7b61fbb1929e26872b22
Parents: c06ddd6
Author: Jeffrey Dunham <jeffrey.a.dunham@gmail.com>
Authored: Wed Feb 10 18:15:15 2016 -0500
Committer: anthony-shaw <anthony.p.shaw@gmail.com>
Committed: Thu Feb 11 13:28:03 2016 +1100

----------------------------------------------------------------------
 libcloud/common/dimensiondata.py          | 2 +-
 libcloud/compute/drivers/dimensiondata.py | 7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/a7dbbf37/libcloud/common/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/common/dimensiondata.py b/libcloud/common/dimensiondata.py
index f78b056..f3ec27b 100644
--- a/libcloud/common/dimensiondata.py
+++ b/libcloud/common/dimensiondata.py
@@ -19,9 +19,9 @@ from base64 import b64encode
 from time import sleep
 from libcloud.utils.py3 import httplib
 from libcloud.utils.py3 import b, basestring
-from libcloud.compute.base import NodeLocation
 from libcloud.common.base import ConnectionUserAndKey, XmlResponse
 from libcloud.common.types import LibcloudError, InvalidCredsError
+from libcloud.compute.base import NodeLocation
 from libcloud.utils.xml import findtext
 
 # Roadmap / TODO:

http://git-wip-us.apache.org/repos/asf/libcloud/blob/a7dbbf37/libcloud/compute/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/dimensiondata.py b/libcloud/compute/drivers/dimensiondata.py
index 744577d..70a330c 100644
--- a/libcloud/compute/drivers/dimensiondata.py
+++ b/libcloud/compute/drivers/dimensiondata.py
@@ -691,10 +691,13 @@ class DimensionDataNodeDriver(NodeDriver):
         List networks deployed across all data center locations for your
         organization.  The response includes the location of each network.
 
+        :param location: The target location
+        :type  location: :class:`NodeLocation` or ``str``
+
         :return: a list of DimensionDataNetwork objects
-        :rtype: ``list`` of :class:`DimensionDataNetwork` or ``str``
+        :rtype: ``list`` of :class:`DimensionDataNetwork`
         """
-        return self.list_networks(location)
+        return self.list_networks(location=location)
 
     def ex_create_network(self, location, name, description=None):
         """


Mime
View raw message