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

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


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

Changed:
  U   Zope/branches/2.10/doc/CHANGES.txt
  U   Zope/branches/2.10/lib/python/Products/MailHost/MailHost.py

-=-
Modified: Zope/branches/2.10/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.10/doc/CHANGES.txt	2006-06-15 09:42:55 UTC (rev 68643)
+++ Zope/branches/2.10/doc/CHANGES.txt	2006-06-15 09:43:53 UTC (rev 68644)
@@ -33,6 +33,8 @@
 
       - Collector #2073: fixed misbehaviour of OFS.Owned.changeOwnership
 
+      - Collector #2063: cleaned up some mess in MailHost.sendTemplate()
+
   Zope 2.10.0 beta 1 (2006/05/30)
 
     Restructuring

Modified: Zope/branches/2.10/lib/python/Products/MailHost/MailHost.py
===================================================================
--- Zope/branches/2.10/lib/python/Products/MailHost/MailHost.py	2006-06-15 09:42:55 UTC (rev 68643)
+++ Zope/branches/2.10/lib/python/Products/MailHost/MailHost.py	2006-06-15 09:43:53 UTC (rev 68644)
@@ -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