[Zope-CVS] CVS: Packages/JobBoardEx - IJobList.py:1.2

Jeremy Hylton jeremy@zope.com
Tue, 19 Mar 2002 17:54:25 -0500


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

Modified Files:
	IJobList.py 
Log Message:
Add lookup() to IJobList


=== Packages/JobBoardEx/IJobList.py 1.1 => 1.2 ===
     def query(state):
         """Returns a list of Job objects"""
+
+    def lookup(jobid):
+        """Returns the job corresponding to jobid.
+
+        Raises KeyError if jobid is not in list.
+        """