[IMP] Remove unused log
bzr revid: stephane@tinyerp.com-20081219155459-ofgwl03yo26s28ry
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user