summaryrefslogtreecommitdiff
path: root/bin/wizard/__init__.py
diff options
context:
space:
mode:
authorOlivier Laurent <olt@tinyerp.com>2009-01-23 15:10:20 +0100
committerOlivier Laurent <olt@tinyerp.com>2009-01-23 15:10:20 +0100
commit826cd7fed4bd2cd0beca1ea96f6380defac1e9fd (patch)
tree0168f34239907e55b5e8fbee5c193761b5c4a178 /bin/wizard/__init__.py
parent83a8db6b975861d806c1de8dd8a45d715cb90320 (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__.py7
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 = {}