[Zodb-checkins] CVS: ZODB3/Persistence - PersistentList.py:1.3.96.3
PersistentMapping.py:1.20.96.3
Jim Fulton
cvs-admin at zope.org
Mon Nov 3 11:57:14 EST 2003
Update of /cvs-repository/ZODB3/Persistence
In directory cvs.zope.org:/tmp/cvs-serv25438/Persistence
Modified Files:
Tag: zodb33-devel-branch
PersistentList.py PersistentMapping.py
Log Message:
Changed to create aliases if _Persistence wasn't built.
=== ZODB3/Persistence/PersistentList.py 1.3.96.2 => 1.3.96.3 ===
--- ZODB3/Persistence/PersistentList.py:1.3.96.2 Mon Nov 3 11:20:03 2003
+++ ZODB3/Persistence/PersistentList.py Mon Nov 3 11:57:13 2003
@@ -19,14 +19,15 @@
__version__='$Revision$'[11:-2]
import Persistence
+import persistent
from persistent.list import PersistentList
-class PersistentList(Persistence.Persistent, PersistentList):
- """Legacy persistent list class
-
- This class mixes in ExtensionClass Base if it is present.
-
- Unless you actually want ExtensionClass semantics, use
- persistent.list.PersistentList instead.
-
- """
+if Persistence.Persistent is not persistent.Persistent:
+ class PersistentList(Persistence.Persistent, PersistentList):
+ """Legacy persistent list class
+
+ This class mixes in ExtensionClass Base if it is present.
+
+ Unless you actually want ExtensionClass semantics, use
+ persistent.list.PersistentList instead.
+ """
=== ZODB3/Persistence/PersistentMapping.py 1.20.96.2 => 1.20.96.3 ===
--- ZODB3/Persistence/PersistentMapping.py:1.20.96.2 Mon Nov 3 11:20:03 2003
+++ ZODB3/Persistence/PersistentMapping.py Mon Nov 3 11:57:13 2003
@@ -19,14 +19,15 @@
__version__='$Revision$'[11:-2]
import Persistence
+import persistent
from persistent.mapping import PersistentMapping
-class PersistentMapping(Persistence.Persistent, PersistentMapping):
- """Legacy persistent mapping class
-
- This class mixes in ExtensionClass Base if it is present.
-
- Unless you actually want ExtensionClass semantics, use
- persistent.mapping.PersistentMapping instead.
-
- """
+if Persistence.Persistent is not persistent.Persistent:
+ class PersistentMapping(Persistence.Persistent, PersistentMapping):
+ """Legacy persistent mapping class
+
+ This class mixes in ExtensionClass Base if it is present.
+
+ Unless you actually want ExtensionClass semantics, use
+ persistent.mapping.PersistentMapping instead.
+ """
More information about the Zodb-checkins
mailing list