|
[Webware-checkins] CVS: Webware/MiscUtils PickleRPC.py,1.4,1.5
From: Geoff Talvola <gtalvola@us...> - 2002-04-12 15:31
|
Update of /cvsroot/webware/Webware/MiscUtils In directory usw-pr-cvs1:/tmp/cvs-serv15326/MiscUtils Modified Files: PickleRPC.py Log Message: Adding setting ReportRPCExceptionsInWebKit that controls whether RPC servlet exceptions are reported on the server side. Defaults to 1. Index: PickleRPC.py =================================================================== RCS file: /cvsroot/webware/Webware/MiscUtils/PickleRPC.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PickleRPC.py 1 Feb 2002 19:10:58 -0000 1.4 --- PickleRPC.py 12 Apr 2002 15:12:15 -0000 1.5 *************** *** 142,146 **** ! from xmlrpclib import ProtocolError as _PE # @@ 2002-01-31 ce: should this be caught somewhere for special handling? Perhaps in XMLRPCServlet? class ProtocolError(ResponseError, _PE): pass --- 142,153 ---- ! # Sometimes xmlrpclib is installed as a package, sometimes not. So we'll ! # make sure it works either way. ! try: ! from xmlrpclib.xmlrpclib import ProtocolError as _PE ! except ImportError: ! from xmlrpclib import ProtocolError as _PE ! # @@ 2002-01-31 ce: should this be caught somewhere for special handling? Perhaps in XMLRPCServlet? ! class ProtocolError(ResponseError, _PE): pass |
| Thread | Author | Date |
|---|---|---|
| [Webware-checkins] CVS: Webware/MiscUtils PickleRPC.py,1.4,1.5 | Geoff Talvola <gtalvola@us...> |