summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-09-18 01:06:36 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-09-18 01:06:36 +0000
commit93bdc3f15a050f200c54db5f22781d23f8caa2af (patch)
tree39cda401636e1eb858811bdd108ab9981753cc6e /src
parent7835a9325d329e2eac4fa5afa31ce4f4be7584ee (diff)
downloadbcfg2-93bdc3f15a050f200c54db5f22781d23f8caa2af.tar.gz
bcfg2-93bdc3f15a050f200c54db5f22781d23f8caa2af.tar.bz2
bcfg2-93bdc3f15a050f200c54db5f22781d23f8caa2af.zip
SSLServer: don't pass address argument to methods with dotted names
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5440 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/SSLServer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/SSLServer.py b/src/lib/SSLServer.py
index 135178cb1..22b19c5dc 100644
--- a/src/lib/SSLServer.py
+++ b/src/lib/SSLServer.py
@@ -41,7 +41,8 @@ class XMLRPCDispatcher (SimpleXMLRPCServer.SimpleXMLRPCDispatcher):
method_func = None
params, method = xmlrpclib.loads(data)
try:
- params = (address, ) + params
+ if '.' not in method:
+ params = (address, ) + params
response = self.instance._dispatch(method, params, self.funcs)
response = (response,)
raw_response = xmlrpclib.dumps(response, methodresponse=1,