dabo Commit
Revision 5592
Date: 2010-01-08 23:46:36 -0800 (Fri, 08 Jan 2010)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5592

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

Log:
A client got a TypeError (expected col 2 of type <int>). Must be spurious
at either grid creation or grid destruction time. 


Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2010-01-08 21:45:52 UTC (rev 5591)
+++ trunk/dabo/ui/uiwx/dGrid.py 2010-01-09 07:46:36 UTC (rev 5592)
@@ -2373,7 +2373,7 @@
 
                try:
                        
self.AutoSizeColumn(self._convertDaboColNumToWxColNum(colNum), setAsMin=False)
-               except wx.PyAssertionError:
+               except (TypeError, wx.PyAssertionError):
                        pass
                _setColSize(colNum)
 



_______________________________________________
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