dabo Commit
Revision 5139
Date: 2009-03-19 14:25:53 -0700 (Thu, 19 Mar 2009)
Author: Pedro.Gato
Trac: http://trac.dabodev.com/changeset/5139
Changed:
U trunk/dabo/ui/uiwx/dControlItemMixin.py
Log:
Reverting my previous commmit, back to raising an exception
Diff:
Modified: trunk/dabo/ui/uiwx/dControlItemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dControlItemMixin.py 2009-03-19 20:14:02 UTC (rev
5138)
+++ trunk/dabo/ui/uiwx/dControlItemMixin.py 2009-03-19 21:25:53 UTC (rev
5139)
@@ -236,7 +236,7 @@
invalidSelections = []
if invalidSelections:
- dabo.errorLog.write(_("Trying to set %s.Value
to these invalid selections: %s") % (self.Name, invalidSelections))
+ raise ValueError(_("Trying to set %s.Value to
these invalid selections: %s") % (self.Name, invalidSelections))
self._afterValueChanged()
else:
_______________________________________________
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]