Correctly dispatch Faults in loads (patch #1498627)

This commit is contained in:
Georg Brandl 2006-06-01 12:30:46 +00:00
parent 6b50c63a23
commit b9120e772b
1 changed files with 3 additions and 3 deletions

View File

@ -247,10 +247,10 @@ class SimpleXMLRPCDispatcher:
of changing method dispatch behavior.
"""
params, method = xmlrpclib.loads(data)
# generate response
try:
params, method = xmlrpclib.loads(data)
# generate response
if dispatch_method is not None:
response = dispatch_method(method, params)
else: