[Zope-CVS] CVS: Packages/JobBoardEx - JobList.py:1.20

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


Update of /cvs-repository/Packages/JobBoardEx
In directory cvs.zope.org:/tmp/cvs-serv24108

Modified Files:
	JobList.py 
Log Message:
Import PersistentDict, not PersistentMapping.


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