Merge "Fix :param: in docstring"
This commit is contained in:
commit
761a16acba
swift
@ -486,7 +486,7 @@ class Server(object):
|
|||||||
def conf_files(self, **kwargs):
|
def conf_files(self, **kwargs):
|
||||||
"""Get conf files for this server
|
"""Get conf files for this server
|
||||||
|
|
||||||
:param: number, if supplied will only lookup the nth server
|
:param number: if supplied will only lookup the nth server
|
||||||
|
|
||||||
:returns: list of conf files
|
:returns: list of conf files
|
||||||
"""
|
"""
|
||||||
@ -550,7 +550,7 @@ class Server(object):
|
|||||||
def pid_files(self, **kwargs):
|
def pid_files(self, **kwargs):
|
||||||
"""Get pid files for this server
|
"""Get pid files for this server
|
||||||
|
|
||||||
:param: number, if supplied will only lookup the nth server
|
:param number: if supplied will only lookup the nth server
|
||||||
|
|
||||||
:returns: list of pid files
|
:returns: list of pid files
|
||||||
"""
|
"""
|
||||||
@ -641,8 +641,8 @@ class Server(object):
|
|||||||
def status(self, pids=None, **kwargs):
|
def status(self, pids=None, **kwargs):
|
||||||
"""Display status of server
|
"""Display status of server
|
||||||
|
|
||||||
:param: pids, if not supplied pids will be populated automatically
|
:param pids: if not supplied pids will be populated automatically
|
||||||
:param: number, if supplied will only lookup the nth server
|
:param number: if supplied will only lookup the nth server
|
||||||
|
|
||||||
:returns: 1 if server is not running, 0 otherwise
|
:returns: 1 if server is not running, 0 otherwise
|
||||||
"""
|
"""
|
||||||
|
@ -706,7 +706,7 @@ class ObjectReconstructor(Daemon):
|
|||||||
local suffix's hashes to decide which suffixes (if any) are out
|
local suffix's hashes to decide which suffixes (if any) are out
|
||||||
of sync.
|
of sync.
|
||||||
|
|
||||||
:param: the job dict, with the keys defined in ``_get_part_jobs``
|
:param job: the job dict, with the keys defined in ``_get_part_jobs``
|
||||||
:param node: the remote node dict
|
:param node: the remote node dict
|
||||||
:returns: a (possibly empty) list of strings, the suffixes to be
|
:returns: a (possibly empty) list of strings, the suffixes to be
|
||||||
synced and the remote node.
|
synced and the remote node.
|
||||||
@ -821,7 +821,7 @@ class ObjectReconstructor(Daemon):
|
|||||||
because each job will define a separate list of node(s) to
|
because each job will define a separate list of node(s) to
|
||||||
'sync_to'.
|
'sync_to'.
|
||||||
|
|
||||||
:param: the job dict, with the keys defined in ``_get_job_info``
|
:param job: the job dict, with the keys defined in ``_get_job_info``
|
||||||
"""
|
"""
|
||||||
begin = time.time()
|
begin = time.time()
|
||||||
if job['job_type'] == REVERT:
|
if job['job_type'] == REVERT:
|
||||||
|
Loading…
Reference in New Issue
Block a user