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

View file

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