Commit e3e87405 by Jérome Perrin

NotificationTool: subject is required

1 parent 83c4ae3c
......@@ -290,6 +290,9 @@ class NotificationTool(BaseTool):
if not isinstance(notifier_list, (tuple, list)):
raise TypeError("Notifier list must be a list of portal types")
if not subject:
raise TypeError("subject is required")
# Find "From" Person
from_person = None
if isinstance(sender, basestring):
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!