Author: dmeyer
Date: Mon Jun 25 07:49:50 2007
New Revision: 2728

Modified:
   trunk/base/src/config.py

Log:
fix typo and add logging to find such problems

Modified: trunk/base/src/config.py
==============================================================================
--- trunk/base/src/config.py    (original)
+++ trunk/base/src/config.py    Mon Jun 25 07:49:50 2007
@@ -952,7 +952,7 @@
     """
     Set default value for the given config variable (proxy).
     """
-    if isintance(var, VarProxy):
+    if isinstance(var, VarProxy):
         var._item._cfg_set(value, default = True)
 
 
@@ -1005,7 +1005,8 @@
     module = '.'.join(components)
     try:
         exec('import %s as module' % module)
-    except:
+    except Exception, e:
+        log.exception('config loader')
         raise ImportError, 'Could not import config module %s' % module
 
     config = getattr(module, attr)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to