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: I36413c6f1e44dc586c98228d6abd9f38952f6391
This commit is contained in:
parent
d58470cff2
commit
61a688784f
@ -328,10 +328,8 @@ def _find_facility(facility):
|
||||
def _refresh_root_level(debug):
|
||||
"""Set the level of the root logger.
|
||||
|
||||
If 'debug' is True, the level will be DEBUG. Otherwise the level will be
|
||||
INFO.
|
||||
|
||||
:param debug
|
||||
:param debug: If 'debug' is True, the level will be DEBUG.
|
||||
Otherwise the level will be INFO.
|
||||
"""
|
||||
log_root = getLogger(None).logger
|
||||
if debug:
|
||||
|
Loading…
x
Reference in New Issue
Block a user