Commit 90469357 authored by Guido Trotter's avatar Guido Trotter

Confd client: make SendRequest args optional

By default "None" will be used as an args value
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 90d726a8
......@@ -115,7 +115,7 @@ class ConfdClient:
else:
break
def SendRequest(self, request, callback, args, coverage=None):
def SendRequest(self, request, callback, args=None, coverage=None):
"""Send a confd request to some MCs
@type request: L{objects.ConfdRequest}
......@@ -123,7 +123,7 @@ class ConfdClient:
@type callback: f(answer, req_type, req_query, salt, ip, port, args)
@param callback: answer callback
@type args: tuple
@param args: additional callback arguments
@keyword args: additional callback arguments
@type coverage: integer
@keyword coverage: number of remote nodes to contact
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment