Fix DummyMailHost._send() signature to match Zope 2.12

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31426 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fac57062
...@@ -61,7 +61,7 @@ class DummyMailHost(MailHost): ...@@ -61,7 +61,7 @@ class DummyMailHost(MailHost):
_last_message = () _last_message = ()
_previous_message = () _previous_message = ()
_message_list = [] _message_list = []
def _send( self, mfrom, mto, messageText ): def _send( self, mfrom, mto, messageText, immediate=False ):
"""Record message in _last_message.""" """Record message in _last_message."""
self._previous_message = self._last_message self._previous_message = self._last_message
self._last_message = (mfrom, mto, messageText) self._last_message = (mfrom, mto, messageText)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment