Commit de0aae98 authored by Romain Courteaud's avatar Romain Courteaud

Drop debugging features.

parent bd0c76bd
......@@ -85,19 +85,15 @@ for hosting_subscription in portal.portal_catalog(\n
start_date_tuple_list.append((hosting_subscription.getRelativeUrl(),\n
start_date))\n
\n
\n
result = context.Person_updateOpenSaleOrder(\n
context.Person_updateOpenSaleOrder(\n
remove_hosting_list,\n
add_kw_list,\n
start_date_tuple_list,\n
src__=src__)\n
from pprint import pformat\n
return pformat(result)\n
start_date_tuple_list)\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>src__=0</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
......@@ -70,9 +70,6 @@ add_kw_kw, modify_kw_kw, remove_id_list = context.Person_getOpenSaleOrderDiffere
add_kw_list,\n
start_date_tuple_list)\n
\n
if src__== 1:\n
return add_kw_kw, modify_kw_kw, remove_id_list\n
\n
now = DateTime()\n
previous_open_sale_order = portal.portal_catalog.getResultValue(\n
default_destination_uid=person.getUid(),\n
......@@ -122,15 +119,13 @@ for hs, kw in modify_kw_kw.iteritems():\n
open_sale_order.deleteContent([q[0] for q in remove_id_list])\n
for explanation in remove_id_list:\n
storeWorkflowComment(open_sale_order, explanation[1])\n
\n
return add_kw_kw, modify_kw_kw, remove_id_list\n
]]></string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>remove_hosting_list, add_kw_list, start_date_tuple_list, src__</string> </value>
<value> <string>remove_hosting_list, add_kw_list, start_date_tuple_list</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
228
\ No newline at end of file
229
\ 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