dabo Commit
Revision 4240
Date: 2008-07-06 12:35:06 -0700 (Sun, 06 Jul 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4240

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

Log:
Fixed an incorrect exception handler class.


Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2008-07-06 19:35:01 UTC (rev 4239)
+++ trunk/dabo/ui/uiwx/dGrid.py 2008-07-06 19:35:06 UTC (rev 4240)
@@ -1388,7 +1388,7 @@
                        # Make sure the grid is in sync:
                        try:
                                self.Parent.SetColSize(idx, v)
-                       except AttributeError:
+                       except wx.PyAssertionError:
                                # The grid may still be in the process of being 
created, so pass.
                                pass
                return v




_______________________________________________
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