Commit c5802f35 authored by Aurel's avatar Aurel

remove log


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4968 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5ebce243
......@@ -3785,7 +3785,6 @@ Business Template is a set of definitions, such as skins, portal types and categ
if compare_to_zodb:
# XXX maybe only build for the given object to gain time
installed_item.build(self)
LOG('compare for', 0, str((item_name, object_id, new_bt, installed_bt)))
new_object = new_item._objects[object_id]
installed_object = installed_item._objects[object_id]
# make diff
......@@ -3810,7 +3809,6 @@ Business Template is a set of definitions, such as skins, portal types and categ
new_ob_xml_lines = new_obj_xml.splitlines()
installed_ob_xml_lines = installed_obj_xml.splitlines()
diff_list = list(unified_diff(installed_ob_xml_lines, new_ob_xml_lines, tofile=new_bt.getId(), fromfile=installed_bt.getId(), lineterm=''))
LOG('diff list', 0, diff_list)
if len(diff_list) != 0:
diff_msg += '\n\nObject %s diff :\n' %( object_id)
diff_msg += '\n'.join(diff_list)
......
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