[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ - Collector #2063: cleaned up some mess in MailHost.sendTemplate()

Andreas Jung cvs-admin at zope.org
Thu Jun 15 05:45:37 EDT 2006


Log message for revision 68646:
        - Collector #2063: cleaned up some mess in MailHost.sendTemplate()
  

Changed:
  U   Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
  U   Zope/branches/Zope-2_8-branch/lib/python/Products/MailHost/MailHost.py

-=-
Modified: Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
===================================================================
--- Zope/branches/Zope-2_8-branch/doc/CHANGES.txt	2006-06-15 09:44:48 UTC (rev 68645)
+++ Zope/branches/Zope-2_8-branch/doc/CHANGES.txt	2006-06-15 09:45:34 UTC (rev 68646)
@@ -25,8 +25,10 @@
 
       - Collector #2073: fixed misbehaviour of OFS.Owned.changeOwnership
 
-      - Collector #1944: HTTPRequest.resolve_url has error in raising errors
+      - Collector #1944: HTTPRequest.resolve_url has error in raising error
 
+      - Collector #2063: cleaned up some mess in MailHost.sendTemplate()
+
   Zope 2.8.7 (2007/05/29)
 
     Features added:

Modified: Zope/branches/Zope-2_8-branch/lib/python/Products/MailHost/MailHost.py
===================================================================
--- Zope/branches/Zope-2_8-branch/lib/python/Products/MailHost/MailHost.py	2006-06-15 09:44:48 UTC (rev 68645)
+++ Zope/branches/Zope-2_8-branch/lib/python/Products/MailHost/MailHost.py	2006-06-15 09:45:34 UTC (rev 68646)
@@ -125,7 +125,7 @@
         messageText = mtemplate(self, trueself.REQUEST)
         messageText, mto, mfrom = _mungeHeaders( messageText, mto, mfrom)
         messageText=_encode(messageText, encode)
-        self._send(mfrom, mto, messageText)
+        trueself._send(mfrom, mto, messageText)
 
         if not statusTemplate: return "SEND OK"
 



More information about the Zope-Checkins mailing list