diff options
| author | Olivier Laurent <olt@tinyerp.com> | 2009-01-23 15:10:20 +0100 |
|---|---|---|
| committer | Olivier Laurent <olt@tinyerp.com> | 2009-01-23 15:10:20 +0100 |
| commit | 826cd7fed4bd2cd0beca1ea96f6380defac1e9fd (patch) | |
| tree | 0168f34239907e55b5e8fbee5c193761b5c4a178 /bin/wizard/__init__.py | |
| parent | 83a8db6b975861d806c1de8dd8a45d715cb90320 (diff) | |
Added the possibility to create a module Technical Guide in rst (restructured text)
bzr revid: olt@tinyerp.com-20090123141020-0ctjqpovr8b4m65e
Diffstat (limited to 'bin/wizard/__init__.py')
| -rw-r--r-- | bin/wizard/__init__.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/wizard/__init__.py b/bin/wizard/__init__.py index 84395f06914..afd1b1ba01c 100644 --- a/bin/wizard/__init__.py +++ b/bin/wizard/__init__.py @@ -63,7 +63,12 @@ class interface(netsvc.Service): context={} res = {} try: - state_def = self.states[state] + try: + state_def = self.states[state] + except Exception, e: + import pydb; pydb.debugger() + raise + result_def = state_def.get('result', {}) actions_res = {} |
