libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [2/5] git commit: Fix format of some return type docstrings (return s -> rtype).
Date Thu, 14 Nov 2013 15:06:34 GMT
Fix format of some return type docstrings (return s -> rtype).


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

Branch: refs/heads/trunk
Commit: 00aec6f1cba073dcf907c0c275f0eb725b1913bb
Parents: 19bbd0f
Author: Tomaz Muraus <tomaz@apache.org>
Authored: Thu Nov 14 15:47:33 2013 +0100
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Thu Nov 14 15:47:33 2013 +0100

----------------------------------------------------------------------
 libcloud/compute/base.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/00aec6f1/libcloud/compute/base.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/base.py b/libcloud/compute/base.py
index 503a3a4..155a017 100644
--- a/libcloud/compute/base.py
+++ b/libcloud/compute/base.py
@@ -470,7 +470,7 @@ class StorageVolume(UuidMixin):
                             e.g. '/dev/sdb (optional)
         :type device: ``str``
 
-        :return s ``bool``
+        :rtype: ``bool``
         """
 
         return self.driver.attach_volume(node=node, volume=self, device=device)
@@ -479,14 +479,14 @@ class StorageVolume(UuidMixin):
         """
         Detach this volume from its node
 
-        :return s ``bool``
+        :rtype: ``bool``
         """
 
         return self.driver.detach_volume(volume=self)
 
     def list_snapshots(self):
         """
-        :return s ``list`` of ``VolumeSnapshot``
+        :rtype: ``list`` of ``VolumeSnapshot``
         """
         return self.driver.list_volume_snapshots(volume=self)
 
@@ -494,7 +494,7 @@ class StorageVolume(UuidMixin):
         """
         Creates a snapshot of this volume.
 
-        :return s ``VolumeSnapshot``
+        :rtype: ``VolumeSnapshot``
         """
         return self.driver.create_volume_snapshot(volume=self, name=name)
 
@@ -502,7 +502,7 @@ class StorageVolume(UuidMixin):
         """
         Destroy this storage volume.
 
-        :return s ``bool``
+        :rtype: ``bool``
         """
 
         return self.driver.destroy_volume(volume=self)
@@ -538,7 +538,7 @@ class VolumeSnapshot(object):
         """
         Destroys this snapshot.
 
-        :return s ``bool``
+        :rtype: ``bool``
         """
         return self.driver.destroy_volume_snapshot(snapshot=self)
 


Mime
View raw message