dabo Commit
Revision 6589
Date: 2011-05-12 09:21:17 -0700 (Thu, 12 May 2011)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6589

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

Log:
Test fix for dGrid on Python 2.7.


Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2011-05-06 08:11:01 UTC (rev 6588)
+++ trunk/dabo/ui/uiwx/dGrid.py 2011-05-12 16:21:17 UTC (rev 6589)
@@ -3244,7 +3244,7 @@
                                ## it's been set as the property but because it 
wasn't part of the grid
                                ## yet it hasn't yet taken effect: force it.
                                col.Width = col.Width
-               except wx.PyAssertionError:
+               except (wx.PyAssertionError, wx.core.PyAssertionError, 
wx._core.PyAssertionError):
                        # If the underlying wx grid doesn't yet know about the 
column, such
                        # as when adding columns with inBatch=True, this can 
throw an error
                        if not inBatch:



_______________________________________________
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