Update docstring.

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

Branch: refs/heads/trunk
Commit: 49665a4471d23e99c5ad38c5ab4f35083e94c068
Parents: ffab16d
Author: Tomaz Muraus <[email protected]>
Authored: Fri Dec 27 20:01:30 2013 +0100
Committer: Tomaz Muraus <[email protected]>
Committed: Fri Dec 27 20:01:30 2013 +0100

----------------------------------------------------------------------
 libcloud/compute/drivers/ec2.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/49665a44/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py
index c9e34cc..3343977 100644
--- a/libcloud/compute/drivers/ec2.py
+++ b/libcloud/compute/drivers/ec2.py
@@ -2726,7 +2726,11 @@ class BaseEC2NodeDriver(NodeDriver):
 
     def _get_extra_dict(self, element, mapping):
         """
-        Build the extra dictionary based on an attribute mapping
+        Extract attributes from the element based on rules provided in the
+        mapping dictionary.
+
+        :param      element: Element to parse the values from.
+        :type       element: xml.etree.ElementTree.Element.
 
         :param      mapping: Dictionary with the extra layout
         :type       node: :class:`Node`

Reply via email to