[Zope-CVS] CVS: Products/Ape/apelib/zodb3 - serializers.py:1.2
Shane Hathaway
shane@zope.com
Sat, 29 Mar 2003 14:24:07 -0500
Update of /cvs-repository/Products/Ape/apelib/zodb3
In directory cvs.zope.org:/tmp/cvs-serv11231/apelib/zodb3
Modified Files:
serializers.py
Log Message:
Avoided accidentally loading an object while trying to render a serialization
error message.
=== Products/Ape/apelib/zodb3/serializers.py 1.1.1.1 => 1.2 ===
--- Products/Ape/apelib/zodb3/serializers.py:1.1.1.1 Sat Mar 15 18:44:42 2003
+++ Products/Ape/apelib/zodb3/serializers.py Sat Mar 29 14:24:06 2003
@@ -107,8 +107,8 @@
missed.append(repr(k))
if missed:
raise SerializationError(
- 'Attribute(s) %s of %s not serialized' %
- (', '.join(missed), repr(object)))
+ 'Attribute(s) %s of object at %s not serialized' %
+ (', '.join(missed), repr(event.getKeychain())))
return None
def deserialize(self, object, event, state):