Adds some docstring Signed-off-by: wuyuewen <suhup...@126.com> Closes #823
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/142ab8d0 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/142ab8d0 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/142ab8d0 Branch: refs/heads/trunk Commit: 142ab8d0637b38c0d80235028c8c4aacf2806785 Parents: 5969c74 Author: wuyuewen <suhup...@126.com> Authored: Fri Jun 24 20:26:26 2016 +0800 Committer: Anthony Shaw <anthonys...@apache.org> Committed: Sat Jun 25 16:44:20 2016 +1000 ---------------------------------------------------------------------- libcloud/compute/drivers/libvirt_driver.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/142ab8d0/libcloud/compute/drivers/libvirt_driver.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/libvirt_driver.py b/libcloud/compute/drivers/libvirt_driver.py index bba0da7..7a2e132 100644 --- a/libcloud/compute/drivers/libvirt_driver.py +++ b/libcloud/compute/drivers/libvirt_driver.py @@ -180,7 +180,8 @@ class LibvirtNodeDriver(NodeDriver): """ Retrieve Node object for a domain with a provided uuid. - :type uuid: ``str`` + :param uuid: Uuid of the domain. + :type uuid: ``str`` """ domain = self._get_domain_for_uuid(uuid=uuid) node = self._to_node(domain=domain) @@ -190,7 +191,8 @@ class LibvirtNodeDriver(NodeDriver): """ Retrieve Node object for a domain with a provided name. - :type name: ``str`` + :param name: Name of the domain. + :type name: ``str`` """ domain = self._get_domain_for_name(name=name) node = self._to_node(domain=domain)