[Zope-Checkins] CVS: Zope/lib/python/ZPublisher -
xmlrpc.py:1.15.62.3
Chris McDonough
chrism at plope.com
Sun Jan 11 16:48:22 EST 2004
Update of /cvs-repository/Zope/lib/python/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv8095
Modified Files:
Tag: Zope-2_7-branch
xmlrpc.py
Log Message:
Fix bug reported on IRC (need to qualify InstanceType with types.)
=== Zope/lib/python/ZPublisher/xmlrpc.py 1.15.62.2 => 1.15.62.3 ===
--- Zope/lib/python/ZPublisher/xmlrpc.py:1.15.62.2 Thu Jan 8 18:34:01 2004
+++ Zope/lib/python/ZPublisher/xmlrpc.py Sun Jan 11 16:48:21 2004
@@ -100,7 +100,7 @@
# 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__
More information about the Zope-Checkins
mailing list