dabo Commit
Revision 4618
Date: 2008-10-27 07:36:32 -0700 (Mon, 27 Oct 2008)
Author: Nate
Trac: http://svn.dabodev.com/trac/dabo/changeset/4618
Changed:
U trunk/ide/ClassDesignerEditor.py
Log:
Fixed a bug in the CD where when checking code for autocompletion purposes we
would not catch an ImportError if a module didn't exist.
Diff:
Modified: trunk/ide/ClassDesignerEditor.py
===================================================================
--- trunk/ide/ClassDesignerEditor.py 2008-10-27 00:22:01 UTC (rev 4617)
+++ trunk/ide/ClassDesignerEditor.py 2008-10-27 14:36:32 UTC (rev 4618)
@@ -67,6 +67,9 @@
except SyntaxError, e:
# Record the error so that the developer knows
there is a problem.
dabo.errorLog.write(_("Compilation error found
in import code: %s") % e)
+ except ImportError:
+ # Ignore because it is not a code problem and
will show up on runtime.
+ pass
def _getController(self):
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]