Commit 7437c815 authored by Nicolas Delaby's avatar Nicolas Delaby

Fix condition behaviour

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23368 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a49dc727
...@@ -72,10 +72,8 @@ portal = bug.getPortalObject()\n ...@@ -72,10 +72,8 @@ portal = bug.getPortalObject()\n
if project is not None:\n if project is not None:\n
recipient_list = [ i.getParentValue() for i in project.getDestinationProjectRelatedValueList(portal_type="Assignment")]\n recipient_list = [ i.getParentValue() for i in project.getDestinationProjectRelatedValueList(portal_type="Assignment")]\n
else:\n else:\n
recipient_list = bug_line.getDestinationValueList() or\\\n recipient_list = bug_line.getDestinationValueList() or bug.getDestinationValueList()\n
bug.getDestinationValueList() +\\\n recipient_list.extend(bug_line.getSourceValueList() or bug.getSourceValueList())\n
bug_line.getSourceValueList() or\\\n
bug.getSourceValueList()\n
\n \n
#If highest level of severity is reach, send Notifications also to source_decision\n #If highest level of severity is reach, send Notifications also to source_decision\n
if bug.getBugSeverityUid() is not None:\n if bug.getBugSeverityUid() is not None:\n
......
349 351
\ No newline at end of file \ 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