Commit b9120e77 authored by Georg Brandl's avatar Georg Brandl

Correctly dispatch Faults in loads (patch #1498627)

parent 6b50c63a
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment