[Zodb-checkins] CVS: Zope3/src/zodb/code - patch.py:1.12
Jeremy Hylton
jeremy at zope.com
Wed May 7 15:37:54 EDT 2003
Update of /cvs-repository/Zope3/src/zodb/code
In directory cvs.zope.org:/tmp/cvs-serv29049
Modified Files:
patch.py
Log Message:
Need to dispatch on PersistentMetaClass in 2.2.
=== Zope3/src/zodb/code/patch.py 1.11 => 1.12 ===
--- Zope3/src/zodb/code/patch.py:1.11 Wed May 7 14:19:07 2003
+++ Zope3/src/zodb/code/patch.py Wed May 7 14:37:53 2003
@@ -93,6 +93,7 @@
from zodb.code.class_ import PersistentClassMetaClass, PersistentDescriptor
from zodb.code.function import PersistentFunction
+from persistence import PersistentMetaClass
from pickle import REDUCE, BUILD
class Wrapper:
@@ -236,6 +237,7 @@
dispatch[TypeType] = save_type
dispatch[ClassType] = save_type
+ dispatch[PersistentMetaClass] = save_type
dispatch[PersistentClassMetaClass] = save_type
def save_function(self, func):
More information about the Zodb-checkins
mailing list