Update docstring - remove obsolete comment, clarify which keys the dictionary contains.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/e263208c Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/e263208c Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/e263208c Branch: refs/heads/trunk Commit: e263208c84638cfcfb5d06526143abd8b1412a08 Parents: f185e44 Author: Tomaz Muraus <[email protected]> Authored: Thu Dec 26 17:20:56 2013 +0100 Committer: Tomaz Muraus <[email protected]> Committed: Thu Dec 26 17:52:31 2013 +0100 ---------------------------------------------------------------------- libcloud/compute/drivers/ec2.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/e263208c/libcloud/compute/drivers/ec2.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py index 4b389df..80b204f 100644 --- a/libcloud/compute/drivers/ec2.py +++ b/libcloud/compute/drivers/ec2.py @@ -2691,14 +2691,16 @@ class BaseEC2NodeDriver(NodeDriver): def ex_get_console_output(self, node): """ - Get console output for the node. This returns a base64 decoded string + Get console output for the node. :param node: Node which should be used :type node: :class:`Node` - :return: Dictionary that contains the instance/node id, an - ISO 8601 formatted datetime and base64 decoded - console output for the node in question. + :return: Dictionary with the following keys: + - instance_id (``str``) + - timestamp (``datetime.datetime``) - timestamp of the last + output + - output (``str``) - console output :rtype: ``dict`` """ params = {
