Return integer as faultCode in xmlrpc

to be compliant with the XML-RPC Specification
This commit is contained in:
Cédric Krier committed 2008-11-21 13:12:47 +01:00
1 parent dd7aae7805
commit 18eeeb1125
1 file changed
+1 -1
+1 -1
View File
@@ -146,7 +146,7 @@ class GenericXMLRPCRequestHandler:
import pdb
traceb = sys.exc_info()[2]
pdb.post_mortem(traceb)
raise xmlrpclib.Fault(str(sys.exc_value), tb_s)
raise xmlrpclib.Fault(1, str(sys.exc_value) + '\n' + tb_s)
class SimpleXMLRPCRequestHandler(GenericXMLRPCRequestHandler,