[Python-checkins] r46587 - python/trunk/Lib/SimpleXMLRPCServer.py
georg.brandl
python-checkins at python.org
Thu Jun 1 14:30:47 CEST 2006
Author: georg.brandl
Date: Thu Jun 1 14:30:46 2006
New Revision: 46587
Modified:
python/trunk/Lib/SimpleXMLRPCServer.py
Log:
Always close a BZ2Proxy fileobject. Remove silly struct usage.
Modified: python/trunk/Lib/SimpleXMLRPCServer.py
==============================================================================
--- python/trunk/Lib/SimpleXMLRPCServer.py (original)
+++ python/trunk/Lib/SimpleXMLRPCServer.py Thu Jun 1 14:30:46 2006
@@ -247,10 +247,10 @@
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:
More information about the Python-checkins
mailing list