Commit 79f3b8bd authored by Aurel's avatar Aurel

report commit 8c37ae547969f2f9bfaafa6deba02dc2e1058ade in script

parent a2a9beb1
......@@ -74,11 +74,14 @@ if reply_url:\n
\n
# To (multiple)\n
to_url_list = []\n
to_email_list = []\n
if to_url is None:\n
for recipient in context.getDestinationValueList():\n
email = recipient.getDefaultEmailText()\n
if email:\n
to_url_list.append(formataddr((recipient.getTitle(), email)))\n
if email not in to_email_list:\n
to_email_list.append(email)\n
to_url_list.append(formataddr((recipient.getTitle(), email)))\n
else:\n
raise ValueError, \'Recipient %s has no defined email\' % recipient\n
elif same_type(to_url, \'\'):\n
......
992
\ No newline at end of file
993
\ No newline at end of file
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