~anybox/openobject-server/lp1035976

« back to all changes in this revision

Viewing changes to openerp/workflow/wkf_expr.py

  • Committer: Christophe Combelles
  • Date: 2012-08-13 06:18:58 UTC
  • Revision ID: ccomb@free.fr-20120813061858-r1kn12b0bv3ue582
skip also blank lines

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
    ret=False
46
46
    assert action, 'You used a NULL action in a workflow, use dummy node instead.'
47
47
    for line in action.split('\n'):
 
48
        line = line.strip()
48
49
        if not line: continue
49
 
        line = line.strip()
50
50
        uid=ident[0]
51
51
        model=ident[1]
52
52
        ids=[ident[2]]