[IMP] Remove unused log

bzr revid: stephane@tinyerp.com-20081219155459-ofgwl03yo26s28ry
This commit is contained in:
Stephane Wirtel
2008-12-19 16:54:59 +01:00
parent b1f715419c
commit 028dd2cc9b
2 changed files with 10 additions and 9 deletions
-1
View File
@@ -948,7 +948,6 @@ class orm_template(object):
return None
netsvc.Logger().notifyChannel('orm', netsvc.LOG_DEBUG, type(src))
doc_src = dom.minidom.parseString(encode(src))
doc_dest = dom.minidom.parseString(encode(inherit))
toparse = doc_dest.childNodes
+10 -8
View File
@@ -26,14 +26,16 @@
import netsvc
def log(cr,ident,act_id,info=''):
msg = """
res_type: %r
res_id: %d
uid: %d
act_id: %d
info: %s
""" % (ident[1], ident[2], ident[0], act_id, info)
netsvc.Logger().notifyChannel('wkf_log', netsvc.LOG_DEBUG, msg)
return
# msg = """
#res_type: %r
#res_id: %d
#uid: %d
#act_id: %d
#info: %s
#""" % (ident[1], ident[2], ident[0], act_id, info)
#netsvc.Logger().notifyChannel('wkf_log', netsvc.LOG_DEBUG, msg)
#cr.execute('insert into wkf_logs (res_type, res_id, uid, act_id, time, info) values (%s,%s,%s,%s,current_time,%s)', (ident[1],int(ident[2]),int(ident[0]),int(act_id),info))