From f5c29b39f3eef83227e3fb7c550d9b2922a19894 Mon Sep 17 00:00:00 2001 From: rcoh Date: Mon, 3 Jan 2011 22:28:28 -0500 Subject: fixed a bug caused by util stuff. some new functionality, not all fully implemented. --- LightInstallation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'LightInstallation.py') diff --git a/LightInstallation.py b/LightInstallation.py index 01fea1c..c74926e 100644 --- a/LightInstallation.py +++ b/LightInstallation.py @@ -98,7 +98,8 @@ class LightInstallation: try: exec('from ' + module+'.'+className + ' import *') main_log.debug(module +'.' +className + 'imported') - except: + except Exception as inst: + pdb.set_trace() main_log.error('Error importing ' + module+'.'+'.className. Component not\ initialized.') continue #TODO: verify functions as expected -- cgit v1.2.3