dabo Commit
Revision 4913
Date: 2009-01-07 06:31:32 -0800 (Wed, 07 Jan 2009)
Author: Ed
Trac: http://trac.dabodev.com/changeset/4913

Changed:
U   trunk/dabo/ui/uiwx/__init__.py

Log:
Added additional exception classes when using LogEvents. Guess these never 
showed up before because I never use event logging.


Diff:
Modified: trunk/dabo/ui/uiwx/__init__.py
===================================================================
--- trunk/dabo/ui/uiwx/__init__.py      2009-01-07 12:11:11 UTC (rev 4912)
+++ trunk/dabo/ui/uiwx/__init__.py      2009-01-07 14:31:32 UTC (rev 4913)
@@ -366,7 +366,7 @@
                                try:
                                        pemName = pem[0].lower() + pem[1:]
                                        ed[pemName] = eval("wxEvt.%s()" % pem)
-                               except AttributeError:
+                               except (AttributeError, TypeError, 
wx._core.PyAssertionError):
                                        pass
 
        if isinstance(wxEvt, (wx.SplitterEvent,) ):




_______________________________________________
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]

Reply via email to