[Zope3-checkins] CVS: Zope3/src/persistence - dict.py:1.1.2.2 list.py:1.1.2.2
Tim Peters
tim.one@comcast.net
Mon, 23 Dec 2002 16:48:42 -0500
Update of /cvs-repository/Zope3/src/persistence
In directory cvs.zope.org:/tmp/cvs-serv13853/src/persistence
Modified Files:
Tag: NameGeddon-branch
dict.py list.py
Log Message:
Repaired botched persistence import.
=== Zope3/src/persistence/dict.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/persistence/dict.py:1.1.2.1 Mon Dec 23 14:30:40 2002
+++ Zope3/src/persistence/dict.py Mon Dec 23 16:48:42 2002
@@ -21,7 +21,7 @@
__metaclass__ = type
-class PersistentDict(Persistence.Persistent, UserDict):
+class PersistentDict(persistence.Persistent, UserDict):
"""A persistent wrapper for mapping objects.
This class allows wrapping of mapping objects so that object
@@ -41,7 +41,7 @@
__super_setdefault = UserDict.setdefault
__super_popitem = UserDict.popitem
- __super_p_init = Persistence.Persistent.__init__
+ __super_p_init = persistence.Persistent.__init__
__super_init = UserDict.__init__
def __init__(self, dict=None):
=== Zope3/src/persistence/list.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/persistence/list.py:1.1.2.1 Mon Dec 23 14:30:40 2002
+++ Zope3/src/persistence/list.py Mon Dec 23 16:48:42 2002
@@ -19,7 +19,7 @@
import persistence
from UserList import UserList
-class PersistentList(UserList, Persistence.Persistent):
+class PersistentList(UserList, persistence.Persistent):
__super_setitem = UserList.__setitem__
__super_delitem = UserList.__delitem__
__super_setslice = UserList.__setslice__