On Thu, 2 Jul 2015 at 18:06 'Petr Pudlak' via ganeti-devel <
[email protected]> wrote:

> While at it, fix the call to the AbstractStubClient to properly pass the
> keyword arguments.
>
> Signed-off-by: Petr Pudlak <[email protected]>
> ---
>  lib/wconfd.py | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/lib/wconfd.py b/lib/wconfd.py
> index d834e68..dd0766e 100644
> --- a/lib/wconfd.py
> +++ b/lib/wconfd.py
> @@ -49,13 +49,16 @@ class Client(cl.AbstractStubClient,
> stub.ClientRpcStub):
>    implements data serialization/deserialization.
>
>    """
> -  def __init__(self, timeouts=None, transport=Transport):
> +  def __init__(self, timeouts=None, transport=Transport,
> allow_non_master=None):
>      """Constructor for the Client class.
>
>      Arguments are the same as for L{AbstractClient}.
>
>      """
> -    cl.AbstractStubClient.__init__(self, timeouts, transport)
> +    cl.AbstractStubClient.__init__(self,
> +                                   timeouts=timeouts,
> +                                   transport=transport,
> +                                   allow_non_master=allow_non_master)
>      stub.ClientRpcStub.__init__(self)
>
>      retries = 12
> --
> 2.4.3.573.g4eafbef
>
>
LGTM, thanks

Reply via email to