add debbug reference to SimpleXMLRPCDispatcher workaround
Signed-off-by: martin f. krafft <madduck@madduck.net>master
parent
5cc97e1df4
commit
46976ac142
|
@ -62,6 +62,7 @@ def rpc_call(cmd, **kwargs):
|
||||||
class SimpleStdinOutXMLRPCHandler(SimpleXMLRPCDispatcher):
|
class SimpleStdinOutXMLRPCHandler(SimpleXMLRPCDispatcher):
|
||||||
|
|
||||||
def __init__(self, allow_none=False, encoding=None):
|
def __init__(self, allow_none=False, encoding=None):
|
||||||
|
# see http://bugs.debian.org/470645
|
||||||
if SimpleXMLRPCDispatcher.__init__.func_code.co_argcount == 1:
|
if SimpleXMLRPCDispatcher.__init__.func_code.co_argcount == 1:
|
||||||
# python2.4 and before only took one argument
|
# python2.4 and before only took one argument
|
||||||
SimpleXMLRPCDispatcher.__init__(self)
|
SimpleXMLRPCDispatcher.__init__(self)
|
||||||
|
|
Loading…
Reference in New Issue