[Zope-Checkins] CVS: Zope/lib/python/Products/MailHost - MailHost.py:1.79.12.2.4.1

Tres Seaver cvs-admin at zope.org
Mon Nov 17 17:10:24 EST 2003


Update of /cvs-repository/Zope/lib/python/Products/MailHost
In directory cvs.zope.org:/tmp/cvs-serv12097/lib/python/Products/MailHost

Modified Files:
      Tag: tseaver-strexp_delenda-branch
	MailHost.py 
Log Message:



  - Rip string exceptins out by the root.

  - webdav/*:  clean up block statements for readability.

  - XXX:  Redirects are now showing up in the error log object;  need
          to filter!


=== Zope/lib/python/Products/MailHost/MailHost.py 1.79.12.2 => 1.79.12.2.4.1 ===
--- Zope/lib/python/Products/MailHost/MailHost.py:1.79.12.2	Mon Jul 21 12:35:53 2003
+++ Zope/lib/python/Products/MailHost/MailHost.py	Mon Nov 17 17:09:53 2003
@@ -26,8 +26,8 @@
                                       use_mailhost_services
 from DateTime import DateTime
 
-smtpError = "SMTP Error"
-MailHostError = "MailHost Error"
+class MailHostError( Exception ):
+    pass
 
 manage_addMailHostForm=DTMLFile('dtml/addMailHost_form', globals())
 def manage_addMailHost( self, id, title='', smtp_host='localhost'




More information about the Zope-Checkins mailing list