Correct uses of :params in docstrings
Replace all occurrences of :params with :param alongway (matches http://sphinx-doc.org/domains.html#info-field-lists) Change-Id: Ia01e563dd54cce1e763c076b15d1a47b790eb802
This commit is contained in:
@@ -753,7 +753,7 @@ def read_file_as_root(file_path):
|
|||||||
def temporary_chown(path, owner_uid=None):
|
def temporary_chown(path, owner_uid=None):
|
||||||
"""Temporarily chown a path.
|
"""Temporarily chown a path.
|
||||||
|
|
||||||
:params owner_uid: UID of temporary owner (defaults to current user)
|
:param owner_uid: UID of temporary owner (defaults to current user)
|
||||||
"""
|
"""
|
||||||
if owner_uid is None:
|
if owner_uid is None:
|
||||||
owner_uid = os.getuid()
|
owner_uid = os.getuid()
|
||||||
|
|||||||
Reference in New Issue
Block a user