dabo Commit
Revision 4264
Date: 2008-07-09 13:59:35 -0700 (Wed, 09 Jul 2008)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/4264

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

Log:
Fixed the string displayed in dTextBox for long values to *not* have the L
appended. Ed, please look this over, as you added this in [3828]. I think
that it is largely moot as in the next versions of Python, all ints are 
going to be longs, but it may have implications on your dSpinnerX stuff.


Diff:
Modified: trunk/dabo/ui/uiwx/dTextBoxMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dTextBoxMixin.py 2008-07-09 20:52:01 UTC (rev 4263)
+++ trunk/dabo/ui/uiwx/dTextBoxMixin.py 2008-07-09 20:59:35 UTC (rev 4264)
@@ -517,8 +517,6 @@
                        strVal = value.isoformat()
                elif value is None:
                        strVal = self.Application.NoneDisplay
-               elif isinstance(value, long):
-                       strVal = value.__repr__()
                else:
                        # convert all other data types to string:
                        strVal = str(value)   # (floats look like 25.55)




_______________________________________________
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