From 8cb49dd77132be899b4157429709366d8d37f793 Mon Sep 17 00:00:00 2001 From: ZhangHongtao Date: Wed, 24 May 2017 11:15:01 +0800 Subject: [PATCH] Fix some reST field lists in docstrings Probably the most common format for documenting arguments is reST field lists [1]. This change updates some docstrings to comply with the field lists syntax. [1] http://sphinx-doc.org/domains.html#info-field-lists Change-Id: I5e5e8310dd909b7b72c49893d62757ebe120fb7c --- nova_powervm/virt/powervm/vm.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nova_powervm/virt/powervm/vm.py b/nova_powervm/virt/powervm/vm.py index 7afb676a..27f8c508 100644 --- a/nova_powervm/virt/powervm/vm.py +++ b/nova_powervm/virt/powervm/vm.py @@ -815,7 +815,8 @@ def get_cnas(adapter, instance, **search): :param instance: The nova instance. :param search: Keyword arguments for CNA.search. If omitted, all CNAs are returned. - :return The CNA wrappers that represent the ClientNetworkAdapters on the VM + :return: The CNA wrappers that represent the ClientNetworkAdapters + on the VM """ meth = pvm_net.CNA.search if search else pvm_net.CNA.get @@ -830,7 +831,7 @@ def get_vnics(adapter, instance, **search): :param instance: The nova instance. :param search: Keyword arguments for VNIC.search. If omitted, all VNICs are returned. - :return The VNIC wrappers that represent the virtual NICs on the VM. + :return: The VNIC wrappers that represent the virtual NICs on the VM. """ meth = pvm_card.VNIC.search if search else pvm_card.VNIC.get