Docstrings should not start with a space

As per OpenStack Docstrings guide lines [1]:
[H401] Docstrings should not start with a space.
[H403] Multi line docstrings should end on a new line.
[H404] Multi line docstrings should start without a leading new line.
[H405] Multi line docstrings should start with a one line summary
followed by an empty line.

[1] http://docs.openstack.org/developer/hacking/#docstrings

trivialfix

Change-Id: Ife5049b73c65b7dc3eecc18567343ed95fdfe05c
This commit is contained in:
Cao Xuan Hoang 2016-09-27 13:19:56 +07:00
parent df05da676d
commit abeda56eea
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ from freezer_dr.evacuators.common.driver import EvacuatorBaseDriver
class DummyEvacuator(EvacuatorBaseDriver):
""" Evacuation driver that does nothing. Useful for testing other parts
"""Evacuation driver that does nothing. Useful for testing other parts
of Freezer-DR.
"""

View File

@ -15,8 +15,8 @@ from freezer_dr.monitors.common.driver import MonitorBaseDriver
class DummyDriver(MonitorBaseDriver):
"""
A monitoring driver that returns a configured list of nodes as failed.
"""A monitoring driver that returns a configured list of nodes as failed.
This can be useful for testing without actually shutting down the nodes.
The nodes that should be reported as failing, can be configured in the
monitoring section of the freezer_dr configuration file as follows: