LGTM

On Fri, Mar 28, 2014 at 1:40 PM, Klaus Aehlig <[email protected]> wrote:

> Now that the product has been replaced by the sum we can, again,
> identify jobs only by their job id.
>
> Signed-off-by: Klaus Aehlig <[email protected]>
> ---
>  lib/client/gnt_debug.py | 6 +++---
>  man/gnt-debug.rst       | 4 ++--
>  2 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/lib/client/gnt_debug.py b/lib/client/gnt_debug.py
> index 6258d8e..60d9b3e 100644
> --- a/lib/client/gnt_debug.py
> +++ b/lib/client/gnt_debug.py
> @@ -639,10 +639,10 @@ def Wconfd(opts, args): # pylint: disable=W0613
>      result = wconfd.Client().Echo(args[1])
>      print "Answer: %s" % (result,)
>    elif args[0] == "listlocks":
> -    if len(args) != 3:
> -      ToStderr("Command 'listlocks' takes precisely two arguments.")
> +    if len(args) != 2:
> +      ToStderr("Command 'listlocks' takes precisely one argument.")
>        return 1
> -    wconfdcontext = (int(args[1]), int(args[2]),
> +    wconfdcontext = (int(args[1]),
>                       utils.livelock.GuessLockfileFor("masterd"))
>      result = wconfd.Client().ListLocks(wconfdcontext)
>      print "Answer: %s" % (result,)
> diff --git a/man/gnt-debug.rst b/man/gnt-debug.rst
> index b923f13..e2c4406 100644
> --- a/man/gnt-debug.rst
> +++ b/man/gnt-debug.rst
> @@ -138,9 +138,9 @@ Tests the WConf daemon by invoking its ``echo``
> function.
>  A given text is sent to WConfd through RPC, echoed back by WConfd and
>  printed to the console.
>
> -| **wconfd** listlocks *jid* *threadid*
> +| **wconfd** listlocks *jid*
>
> -A request to list the locks owned by the given job id and thread id is
> +A request to list the locks owned by the given job id is
>  sent to WConfd and the answer is displayed.
>
>  .. vim: set textwidth=72 :
> --
> 1.9.1.423.g4596e3a
>
>

Reply via email to