From 826cd7fed4bd2cd0beca1ea96f6380defac1e9fd Mon Sep 17 00:00:00 2001 From: Olivier Laurent Date: Fri, 23 Jan 2009 15:10:20 +0100 Subject: Added the possibility to create a module Technical Guide in rst (restructured text) bzr revid: olt@tinyerp.com-20090123141020-0ctjqpovr8b4m65e --- bin/wizard/__init__.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bin/wizard/__init__.py') 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 = {} -- cgit v1.2.3