[Zope-CVS] CVS: Packages/JobBoardI18n - JobList.py:1.2

Guido van Rossum guido@python.org
Tue, 6 Aug 2002 13:39:34 -0400


Update of /cvs-repository/Packages/JobBoardI18n
In directory cvs.zope.org:/tmp/cvs-serv24345

Modified Files:
	JobList.py 
Log Message:
Import PersistentDict.


=== Packages/JobBoardI18n/JobList.py 1.1 => 1.2 ===
-from Persistence import Persistent, PersistentMapping
+from Persistence import Persistent
+from Persistence.PersistentDict import PersistentDict
 
 from IJobList import IJobList
 from IJob import JobState
@@ -9,7 +10,7 @@
 
     def __init__(self):
         self._lastid = 0
-        self._jobs = PersistentMapping()
+        self._jobs = PersistentDict()
 
     def add(self, job):
         self._lastid += 1