dabo Commit
Revision 6765
Date: 2011-08-09 02:55:09 -0700 (Tue, 09 Aug 2011)
Author: Jacekk
Trac: http://trac.dabodev.com/changeset/6765

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

Log:
Update logging code.

Diff:
Modified: trunk/dabo/ui/uiwx/dDatePicker.py
===================================================================
--- trunk/dabo/ui/uiwx/dDatePicker.py   2011-08-09 06:22:02 UTC (rev 6764)
+++ trunk/dabo/ui/uiwx/dDatePicker.py   2011-08-09 09:55:09 UTC (rev 6765)
@@ -249,7 +249,7 @@
                try:
                        super(dDatePicker, self).SetValue(val)
                except ValueError, e:
-                       dabo.errorLog.write(_(u"Object '%s' has the following 
error: %s") % (self.Name, ustr(e)))
+                       dabo.log.error(_(u"Object '%s' has the following error: 
%s") % (self.Name, ustr(e)))
 
        def _getAllowNullDate(self):
                return self._hasWindowStyleFlag(wx.DP_ALLOWNONE)



_______________________________________________
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