summaryrefslogtreecommitdiff
path: root/bin/workflow
diff options
context:
space:
mode:
authorStephane Wirtel <stephane@tinyerp.com>2008-12-19 16:54:59 +0100
committerStephane Wirtel <stephane@tinyerp.com>2008-12-19 16:54:59 +0100
commit028dd2cc9bd26ebf633fd9c8349b5a665aee564a (patch)
treee5f8f12d09979aa3aafe31a4d186f17812aa2d50 /bin/workflow
parentb1f715419c9964fad9c583e36e476b8264058ddb (diff)
[IMP] Remove unused log
bzr revid: stephane@tinyerp.com-20081219155459-ofgwl03yo26s28ry
Diffstat (limited to 'bin/workflow')
-rw-r--r--bin/workflow/wkf_logs.py18
1 files changed, 10 insertions, 8 deletions
diff --git a/bin/workflow/wkf_logs.py b/bin/workflow/wkf_logs.py
index 72299da8099..0f34ebd9140 100644
--- a/bin/workflow/wkf_logs.py
+++ b/bin/workflow/wkf_logs.py
@@ -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))