diff --git a/swift/common/manager.py b/swift/common/manager.py index bd20bfbc24..978e2fbb6a 100644 --- a/swift/common/manager.py +++ b/swift/common/manager.py @@ -486,7 +486,7 @@ class Server(object): def conf_files(self, **kwargs): """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 """ @@ -550,7 +550,7 @@ class Server(object): def pid_files(self, **kwargs): """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 """ @@ -641,8 +641,8 @@ class Server(object): def status(self, pids=None, **kwargs): """Display status of server - :param: pids, if not supplied pids will be populated automatically - :param: number, if supplied will only lookup the nth server + :param pids: if not supplied pids will be populated automatically + :param number: if supplied will only lookup the nth server :returns: 1 if server is not running, 0 otherwise """ diff --git a/swift/obj/reconstructor.py b/swift/obj/reconstructor.py index 00baa04649..b8f18de4dc 100644 --- a/swift/obj/reconstructor.py +++ b/swift/obj/reconstructor.py @@ -706,7 +706,7 @@ class ObjectReconstructor(Daemon): local suffix's hashes to decide which suffixes (if any) are out 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 :returns: a (possibly empty) list of strings, the suffixes to be synced and the remote node. @@ -821,7 +821,7 @@ class ObjectReconstructor(Daemon): because each job will define a separate list of node(s) 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() if job['job_type'] == REVERT: