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:
Dirk Mueller
2013-12-11 22:52:41 +01:00
parent 88e80d2c15
commit fb46df3d60

View File

@@ -753,7 +753,7 @@ def read_file_as_root(file_path):
def temporary_chown(path, owner_uid=None):
"""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:
owner_uid = os.getuid()