mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
Correctly dispatch Faults in loads (patch #1498627)
This commit is contained in:
parent
6b50c63a23
commit
b9120e772b
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue