Handle SimpleXMLRPCDispatcher arg count change in Py2.5
authormartin f. krafft <madduck@madduck.net>
Wed, 12 Mar 2008 13:23:09 +0000 (14:23 +0100)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 12 Mar 2008 14:46:36 +0000 (10:46 -0400)
commit8a43597a00e561ecab541069661090947ae79899
tree37087ba8129e8a2d80a11276e0612fc4e9beb413
parent2fa9da9f1697346526ea667ae606a1521f40037f
Handle SimpleXMLRPCDispatcher arg count change in Py2.5

SimpleXMLRPCDispatcher.__init__ takes 3 arguments instead of 1 since
python 2.5, so we check for that with a hack, for I found no better way,
other than catching a TypeError exception.

Signed-off-by: martin f. krafft <madduck@madduck.net>
doc/bugs/rst_plugin_traceback_with_SimpleXMLRPCDispatcher_from_pyhton_2.5.mdwn
plugins/rst