Commit 40f009f2 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

output compiling message to log instead of stdout.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17731 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bc3e0869
......@@ -555,7 +555,7 @@ class ObjectTemplateItem(BaseTemplateItem):
name, ext = os.path.splitext(file.name)
compiled_file = name + '.zexp'
if not os.path.exists(compiled_file) or os.path.getmtime(file.name) > os.path.getmtime(compiled_file):
print 'Compiling %s to %s...' % (file.name, compiled_file)
LOG('Business Template', 0, 'Compiling %s to %s...' % (file.name, compiled_file))
try:
from Shared.DC.xml import ppml
from OFS.XMLExportImport import start_zopedata, save_record, save_zopedata
......
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