Commit 29a4b687 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Do not invoke print

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16996 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1112ce0f
......@@ -107,7 +107,6 @@ for text, prop_dict in context.getSearchableReferenceList():\n
\n
# Search reference ticket or project\n
follow_up_type_list = context.getPortalProjectTypeList() + context.getPortalTicketTypeList()\n
print follow_up_type_list\n
follow_up = context.portal_catalog.getResultValue(reference=reference_search_list, portal_type=follow_up_type_list)\n
if follow_up is None:\n
follow_up = context.portal_catalog.getResultValue(reference=text_search_list, portal_type=follow_up_type_list)\n
......@@ -141,6 +140,10 @@ return result\n
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
......@@ -165,8 +168,6 @@ return result\n
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>_print_</string>
<string>_print</string>
<string>getPersonList</string>
<string>_getattr_</string>
<string>context</string>
......@@ -206,9 +207,7 @@ return result\n
<item>
<key> <string>warnings</string> </key>
<value>
<tuple>
<string>Prints, but never reads \'printed\' variable.</string>
</tuple>
<tuple/>
</value>
</item>
</dictionary>
......
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