Commit 1fc2b56e authored by Łukasz Nowak's avatar Łukasz Nowak

Check whole execution time.

parent f25f55bd
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
from DateTime import DateTime\n from DateTime import DateTime\n
b = DateTime().timeTime()\n
BLACKLIST_RELATIVE_URL_LIST = (\n BLACKLIST_RELATIVE_URL_LIST = (\n
\'accounting_module/template_sale_invoice_transaction\',\n \'accounting_module/template_sale_invoice_transaction\',\n
\'open_sale_order_module/slapos_accounting_open_sale_order_line_template\',\n \'open_sale_order_module/slapos_accounting_open_sale_order_line_template\',\n
...@@ -85,7 +86,6 @@ if bg:\n ...@@ -85,7 +86,6 @@ if bg:\n
\n \n
deleted = False\n deleted = False\n
if context in module_list:\n if context in module_list:\n
b = DateTime().timeTime()\n
id_list = [q.getId() for q in \\\n id_list = [q.getId() for q in \\\n
portal.portal_catalog(parent_uid=context.getUid(), limit=100) if q.getRelativeUrl() not in BLACKLIST_RELATIVE_URL_LIST]\n portal.portal_catalog(parent_uid=context.getUid(), limit=100) if q.getRelativeUrl() not in BLACKLIST_RELATIVE_URL_LIST]\n
if id_list:\n if id_list:\n
......
51 52
\ No newline at end of file \ 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