Commit 43258473 authored by Brian Lloyd's avatar Brian Lloyd

fix 1184

parent 52593154
......@@ -100,7 +100,7 @@ class Response:
# Convert Fault object to XML-RPC response.
body=xmlrpclib.dumps(body, methodresponse=1)
else:
if type(body) == InstanceType:
if type(body) == types.InstanceType:
# Avoid disclosing private members. Private members are
# by convention named with a leading underscore char.
orig = body.__dict__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment