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 2014/01/13 00:10:36 UTC

[2/3] git commit: Fix docstring issue which caused failed documentation build.

Fix docstring issue which caused failed documentation build.


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

Branch: refs/heads/trunk
Commit: 457da9fb75f03431c6993b2c6270abcbbe9e42f9
Parents: b81a63a
Author: Tomaz Muraus <to...@apache.org>
Authored: Mon Jan 13 00:01:58 2014 +0100
Committer: Tomaz Muraus <to...@apache.org>
Committed: Mon Jan 13 00:01:58 2014 +0100

----------------------------------------------------------------------
 libcloud/compute/drivers/ec2.py | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/457da9fb/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py
index 176d450..164fd88 100644
--- a/libcloud/compute/drivers/ec2.py
+++ b/libcloud/compute/drivers/ec2.py
@@ -1615,12 +1615,13 @@ class BaseEC2NodeDriver(NodeDriver):
         :param      description: An optional description for the new image
         :type       description: ``str``
 
-        @note       An example block device mapping dictionary is included:
-                    mapping = [{'VirtualName': None,
-                                'Ebs': {'VolumeSize': 10,
-                                        'VolumeType': 'standard',
-                                        'DeleteOnTermination': 'true'},
-                                'DeviceName': '/dev/sda1'}]
+        An example block device mapping dictionary is included:
+
+        mapping = [{'VirtualName': None,
+                    'Ebs': {'VolumeSize': 10,
+                            'VolumeType': 'standard',
+                            'DeleteOnTermination': 'true'},
+                            'DeviceName': '/dev/sda1'}]
 
         :return:    Instance of class ``NodeImage``
         :rtype:     :class:`NodeImage`