Commit dbb37b70 authored by Aurel's avatar Aurel

Workaround for bogus results returned by getResultList

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44312 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2b443a95
......@@ -53,6 +53,8 @@
<value> <string encoding="cdata"><![CDATA[
for result in context.getResultList():\n
if result is None:\n
continue # Workaround for bogus results\n
# This is useful is result is returned as a Return instance\n
if result.severity > result.INFO:\n
return True\n
......
40931
\ No newline at end of file
40932
\ 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