Return integer as faultCode in xmlrpc
to be compliant with the XML-RPC Specification
This commit is contained in:
1 parent
dd7aae7805
commit
18eeeb1125
1 file changed
+1
-1
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user