From a3d274303ef8d1a123fcfb4ae3ba85e9712fe470 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 7 Aug 2014 19:22:26 -0400 Subject: [PATCH] docs - Fix errors,warnings from document generation ERROR: Unexpected indentation. WARNING: Field list ends without a blank line; unexpected unindent. WARNING: Block quote ends without a blank line; unexpected unindent. Partial-Bug: #1351350 Change-Id: If13b5c533cf9a1e8f543b8f679c464c0dc007a30 --- nova/compute/resources/base.py | 2 +- nova/pci/pci_devspec.py | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/nova/compute/resources/base.py b/nova/compute/resources/base.py index aebd29fb40ef..a04fc9f97f2a 100644 --- a/nova/compute/resources/base.py +++ b/nova/compute/resources/base.py @@ -44,7 +44,7 @@ class Resource(object): :param limits: limits to apply :returns: None if the test passes or a string describing the reason - why the test failed + why the test failed """ pass diff --git a/nova/pci/pci_devspec.py b/nova/pci/pci_devspec.py index c228e4a15d0f..a03cd80b9a99 100755 --- a/nova/pci/pci_devspec.py +++ b/nova/pci/pci_devspec.py @@ -49,9 +49,11 @@ class PciAddress(object): This class checks the address fields of the pci_passthrough_whitelist configuration option, validating the address fields. Example config are: - pci_passthrough_whitelist = {"address":"*:0a:00.*", - "physical_network":"physnet1"} - pci_passthrough_whitelist = {"address":":0a:00.", + + | pci_passthrough_whitelist = {"address":"*:0a:00.*", + | "physical_network":"physnet1"} + | pci_passthrough_whitelist = {"address":":0a:00.", + This function class will validate the address fields, check for wildcards, and insert wildcards where the field is left blank. """