dabo Commit
Revision 7028
Date: 2011-12-15 11:36:13 -0800 (Thu, 15 Dec 2011)
Author: Ed
Trac: http://trac.dabodev.com/changeset/7028

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

Log:
Reverted the inadvertant commit.

Diff:
Modified: trunk/dabo/ui/uiwx/dNumericBox.py
===================================================================
--- trunk/dabo/ui/uiwx/dNumericBox.py   2011-12-15 19:00:07 UTC (rev 7027)
+++ trunk/dabo/ui/uiwx/dNumericBox.py   2011-12-15 19:36:13 UTC (rev 7028)
@@ -153,15 +153,6 @@
                        if val is None:
                                self.SetGroupDigits(False)
                        else:
-                               if ord(val[0]) > 127:
-                                       # Only ASCII chars allowed
-                                       dabo.log.error(_("GroupChar must be a 
valid ASCII character; "
-                                                       "'%s' is not allowed.") 
% val)
-                                       return
-                               if len(val) > 1:
-                                       dabo.log.error(_("GroupChar must be a 
single character; "
-                                                       "attempted to set it to 
a string of length %s.") % len(val))
-                                       return
                                self.SetGroupChar(val)
                                self.SetGroupDigits(True)
                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]

Reply via email to