diff options
| author | Christophe Simonis <christophe@tinyerp.com> | 2008-12-12 11:58:04 +0100 |
|---|---|---|
| committer | Christophe Simonis <christophe@tinyerp.com> | 2008-12-12 11:58:04 +0100 |
| commit | a6a9f7382f89032ca0575bc5b0af84448c72057d (patch) | |
| tree | 50f4b4cf5f8c36f3e03b2da9396a2ae24c089a62 /bin/workflow/wkf_expr.py | |
| parent | 0a9426cf068aa74c9c34a9f417564077da8130e6 (diff) | |
[IMP] use the bultin function to strip the workflow action functions
bzr revid: christophe@tinyerp.com-20081212105804-9yuf4ir04p5vy52r
Diffstat (limited to 'bin/workflow/wkf_expr.py')
| -rw-r--r-- | bin/workflow/wkf_expr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/workflow/wkf_expr.py b/bin/workflow/wkf_expr.py index 5c5858ccc3f..fff74884e3f 100644 --- a/bin/workflow/wkf_expr.py +++ b/bin/workflow/wkf_expr.py @@ -66,7 +66,7 @@ def _eval_expr(cr, ident, workitem, action): ret=False assert action, 'You used a NULL action in a workflow, use dummy node instead.' for line in action.split('\n'): - line = line.replace(chr(13),'') + line = line.strip() uid=ident[0] model=ident[1] ids=[ident[2]] |
