[Zope-CVS] CVS: Packages/JobBoardEx - IJob.py:1.6 Job.py:1.6

Guido van Rossum guido@python.org
Wed, 20 Mar 2002 15:02:06 -0500


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

Modified Files:
	IJob.py Job.py 
Log Message:
Get rid of the distinction between contactURL and contactEmail.  It's
just 'contact' now.


=== Packages/JobBoardEx/IJob.py 1.5 => 1.6 ===
                             "Longer description of the job")
 
-    contactURL = Attribute("contactURL",
-                           "URL for additional information")
-
-    contactEmail = Attribute("contactEmail",
-                             "Email address to contact about the job")
+    contact = Attribute("contact",
+                        "Email address to contact about the job")
 
     state = Attribute("state",
                       "Current state of the job listing.\n"


=== Packages/JobBoardEx/Job.py 1.5 => 1.6 ===
     __implements__ = IJob,
 
-    def __init__(self, submitter, summary, description,
-                 contactURL, contactEmail):
+    def __init__(self, submitter, summary, description, contact):
         self.submitter = submitter
         self.summary = summary
         self.description = description
-        self.contactURL = contactURL
-        self.contactEmail = contactEmail
+        self.contact = contact
         self.id = None
         self.state = JobState.PendingApproval