Revision 90469357
b/lib/confd/client.py | ||
---|---|---|
115 | 115 |
else: |
116 | 116 |
break |
117 | 117 |
|
118 |
def SendRequest(self, request, callback, args, coverage=None): |
|
118 |
def SendRequest(self, request, callback, args=None, coverage=None):
|
|
119 | 119 |
"""Send a confd request to some MCs |
120 | 120 |
|
121 | 121 |
@type request: L{objects.ConfdRequest} |
... | ... | |
123 | 123 |
@type callback: f(answer, req_type, req_query, salt, ip, port, args) |
124 | 124 |
@param callback: answer callback |
125 | 125 |
@type args: tuple |
126 |
@param args: additional callback arguments
|
|
126 |
@keyword args: additional callback arguments
|
|
127 | 127 |
@type coverage: integer |
128 | 128 |
@keyword coverage: number of remote nodes to contact |
129 | 129 |
|
Also available in: Unified diff