Commit b5095ca8 authored by Ivan Tyagov's avatar Ivan Tyagov

Remove logging.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27160 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9d7d524f
......@@ -53,18 +53,12 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>LOG = lambda msg:context.log("PaymentTransaction_selectMovement", msg)\n
\n
kw[\'parent_specialise_portal_type\'] = \'Payment Rule\'\n
<value> <string>kw[\'parent_specialise_portal_type\'] = \'Payment Rule\'\n
kw[\'portal_type\'] = \'Simulation Movement\'\n
kw.update(context.portal_catalog.buildSQLQuery(**kw))\n
kw[\'max_movement_date\'] = DateTime() + 30 # XXX this is an arbitrary value for experimentation\n
# this could be an alarm configuration.\n
\n
LOG("SQL used = %s"%context.PaymentTransaction_zSelectMovement(src__=1, **kw))\n
movement_list = [x.getObject() for x in context.PaymentTransaction_zSelectMovement(**kw)]\n
\n
LOG("movement_list = %s"%movement_list)\n
return movement_list\n
</string> </value>
</item>
......@@ -104,7 +98,6 @@ return movement_list\n
<tuple>
<string>src__</string>
<string>kw</string>
<string>LOG</string>
<string>_write_</string>
<string>_getattr_</string>
<string>_apply_</string>
......
926
\ No newline at end of file
927
\ 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