diff options
author | David Shrewsbury <shrewsbury.dave@gmail.com> | 2014-10-10 16:18:14 -0400 |
---|---|---|
committer | David Shrewsbury <shrewsbury.dave@gmail.com> | 2014-10-10 16:18:14 -0400 |
commit | f3ef289360041ef0088e9f2e19637f9bf6d856fd (patch) | |
tree | af869d0522e831df62ae0b6d0b62c4847a58d5f9 /ironic/drivers/modules/drac | |
parent | bfec3234c3c2c9f8b95434a4a11e11eb6226d1df (diff) | |
download | ironic-f3ef289360041ef0088e9f2e19637f9bf6d856fd.tar.gz |
Enable H405 PEP8 check
Fixes files with the PEP8 error:
H405 multi line docstring summary not separated with an empty line
and enables the PEP8 check in tox.ini.
Change-Id: I632c89e2a1783be8305a8a8cea7ae9d3bb55b62c
Diffstat (limited to 'ironic/drivers/modules/drac')
-rw-r--r-- | ironic/drivers/modules/drac/common.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ironic/drivers/modules/drac/common.py b/ironic/drivers/modules/drac/common.py index 045791308..47e0899e3 100644 --- a/ironic/drivers/modules/drac/common.py +++ b/ironic/drivers/modules/drac/common.py @@ -45,7 +45,9 @@ RET_CREATED = '4096' def parse_driver_info(node): - """Parses the driver_info of the node, reads default values + """Parse a node's driver_info values. + + Parses the driver_info of the node, reads default values and returns a dict containing the combination of both. :param node: an ironic node object. @@ -94,7 +96,9 @@ def parse_driver_info(node): def get_wsman_client(node): - """Given an ironic node object, this method gives back a + """Return a DRAC client object. + + Given an ironic node object, this method gives back a Client object which is a wrapper for pywsman.Client. :param node: an ironic node object. |