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 ...@@ -107,7 +107,6 @@ for text, prop_dict in context.getSearchableReferenceList():\n
\n \n
# Search reference ticket or project\n # Search reference ticket or project\n
follow_up_type_list = context.getPortalProjectTypeList() + context.getPortalTicketTypeList()\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 follow_up = context.portal_catalog.getResultValue(reference=reference_search_list, portal_type=follow_up_type_list)\n
if follow_up is None:\n if follow_up is None:\n
follow_up = context.portal_catalog.getResultValue(reference=text_search_list, portal_type=follow_up_type_list)\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 ...@@ -141,6 +140,10 @@ return result\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_params</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
<value> <value>
...@@ -165,8 +168,6 @@ return result\n ...@@ -165,8 +168,6 @@ return result\n
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>_print_</string>
<string>_print</string>
<string>getPersonList</string> <string>getPersonList</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
...@@ -206,9 +207,7 @@ return result\n ...@@ -206,9 +207,7 @@ return result\n
<item> <item>
<key> <string>warnings</string> </key> <key> <string>warnings</string> </key>
<value> <value>
<tuple> <tuple/>
<string>Prints, but never reads \'printed\' variable.</string>
</tuple>
</value> </value>
</item> </item>
</dictionary> </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