Commit 82454bbc authored by Nicolas Delaby's avatar Nicolas Delaby

Comment out logs

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40800 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b9cdf29a
......@@ -96,15 +96,15 @@ for line in line_list:\n
while line_id in used_id:\n
# do not used an id from previously generated lines\n
line_id+=1\n
context.log("inventory values a = %s, c = %s, f = %s" %(resource.getAvailableInventory(\n
section_uid=section_uid,\n
variation_text=cell.getVariationText()),\n
resource.getCurrentInventory(\n
section_uid=section_uid,\n
variation_text=cell.getVariationText()),\n
resource.getInventory(\n
section_uid=section_uid,\n
variation_text=cell.getVariationText())))\n
#context.log("inventory values a = %s, c = %s, f = %s" %(resource.getAvailableInventory(\n
# section_uid=section_uid,\n
# variation_text=cell.getVariationText()),\n
# resource.getCurrentInventory(\n
# section_uid=section_uid,\n
# variation_text=cell.getVariationText()),\n
# resource.getInventory(\n
# section_uid=section_uid,\n
# variation_text=cell.getVariationText())))\n
\n
obj = trade_document.newContent(portal_type=line_portal_type,\n
id=line_id,\n
......@@ -134,15 +134,15 @@ for line in line_list:\n
while line_id in used_id:\n
# do not used an id from previously generated lines\n
line_id+=1\n
context.log("inventory values a = %s, c = %s, f = %s" %(resource.getAvailableInventory(\n
section_uid=section_uid,\n
variation_text=line.getVariationText()),\n
resource.getCurrentInventory(\n
section_uid=section_uid,\n
variation_text=line.getVariationText()),\n
resource.getInventory(\n
section_uid=section_uid,\n
variation_text=line.getVariationText())))\n
#context.log("inventory values a = %s, c = %s, f = %s" %(resource.getAvailableInventory(\n
# section_uid=section_uid,\n
# variation_text=line.getVariationText()),\n
# resource.getCurrentInventory(\n
# section_uid=section_uid,\n
# variation_text=line.getVariationText()),\n
# resource.getInventory(\n
# section_uid=section_uid,\n
# variation_text=line.getVariationText())))\n
\n
obj = trade_document.newContent(portal_type=line_portal_type,\n
id=line_id,\n
......
1047
\ No newline at end of file
1048
\ 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