diff options
| author | Vaibhav (OpenERP) <vda@tinyerp.com> | 2011-09-21 13:35:00 +0530 |
|---|---|---|
| committer | Vaibhav (OpenERP) <vda@tinyerp.com> | 2011-09-21 13:35:00 +0530 |
| commit | 9862fa094e8979a0566a2391f03a990da44093f8 (patch) | |
| tree | 66f3771b8beaa09723e59ff3b226db02d6a4bf1f /addons/process/process.py | |
| parent | e583cf5f0dc5af07b1386661207729b04695f615 (diff) | |
[FIX] clean up.
bzr revid: vda@tinyerp.com-20110921080500-0dljjjesk3umhwl8
Diffstat (limited to 'addons/process/process.py')
| -rw-r--r-- | addons/process/process.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/addons/process/process.py b/addons/process/process.py index b4b82c13fac..524a3236e7b 100644 --- a/addons/process/process.py +++ b/addons/process/process.py @@ -242,10 +242,7 @@ class process_process(osv.osv): for k, v in nodes.items(): y = v['y'] v['y'] = min(y - miny + 10, y) - for k,v in nodes.items(): - k = str(k) - for t,i in transitions.items(): - t = str(t) + nodes = dict([str(n_key), n_val] for n_key, n_val in nodes.iteritems()) transitions = dict([str(t_key), t_val] for t_key, t_val in transitions.iteritems()) return dict(name=name, resource=resource, state=state, perm=perm, notes=notes, nodes=nodes, transitions=transitions) |
