dabo Commit
Revision 5302
Date: 2009-07-24 10:43:28 -0700 (Fri, 24 Jul 2009)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5302

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

Log:
Changed the warning when attempting to set the ListSpacing property to write to 
the info log instead of the error log to avoid error messages that 
unnecessarily exaggerate the problem.


Diff:
Modified: trunk/dabo/ui/uiwx/dPageFrame.py
===================================================================
--- trunk/dabo/ui/uiwx/dPageFrame.py    2009-07-22 18:51:02 UTC (rev 5301)
+++ trunk/dabo/ui/uiwx/dPageFrame.py    2009-07-24 17:43:28 UTC (rev 5302)
@@ -125,7 +125,9 @@
                        try:
                                self.GetChildren()[0].SetItemSpacing(val)
                        except AttributeError:
-                               dabo.errorLog.write(_("ListSpacing is not 
supported in wxPython %s") % wx.__version__)
+                               # Changed this to write to the info log to 
avoid error messages that 
+                               #  unnecessarily exaggerate the problem.
+                               dabo.infoLog.write(_("ListSpacing is not 
supported in wxPython %s") % wx.__version__)
                else:
                        self._properties["ListSpacing"] = val
 




_______________________________________________
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