By default "None" will be used as an args value
Signed-off-by: Guido Trotter <[email protected]>
---
lib/confd/client.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/confd/client.py b/lib/confd/client.py
index 1243bf7..0ceb6c7 100644
--- a/lib/confd/client.py
+++ b/lib/confd/client.py
@@ -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
--
1.6.3.3