Python’s xmlrpclib only raises the xmlrpclib.Fault exception, but it can be convenient to allow more different kinds of exceptions to be raised. This script provides a cusconvenient to allow more different kinds of exceptions to be raised. This script provides a customized subclass of xmlrpclib.ServerProxy that looks for Fault exceptions where the message is of the form :, and raises the corresponding exception.


Download from: Homepage




Author:
admin
Time:
Friday, June 20th, 2008 at 7:50 am
Category:
Image Tools, Multimedia, Sound
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation:

Leave a Reply