dabo Commit
Revision 5288
Date: 2009-07-07 09:47:27 -0700 (Tue, 07 Jul 2009)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5288

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

Log:
Corrected the caught exception class. This would throw an error if used with a 
dListControl.


Diff:
Modified: trunk/dabo/ui/uiwx/dControlItemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dControlItemMixin.py     2009-07-07 00:31:54 UTC (rev 
5287)
+++ trunk/dabo/ui/uiwx/dControlItemMixin.py     2009-07-07 16:47:27 UTC (rev 
5288)
@@ -321,7 +321,7 @@
                                continue
                        try:
                                strings.append(self.GetString(index))
-                       except IndexError:
+                       except AttributeError:
                                # If this is a list control, there is no native 
GetString.
                                # Use the Dabo-supplied replacement
                                try:




_______________________________________________
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