[Python-checkins] r70458 - in python/branches/release26-maint: Lib/locale.py
antoine.pitrou
python-checkins at python.org
Wed Mar 18 18:11:07 CET 2009
Author: antoine.pitrou
Date: Wed Mar 18 18:11:06 2009
New Revision: 70458
Log:
Merged revisions 70457 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70457 | antoine.pitrou | 2009-03-18 18:10:04 +0100 (mer., 18 mars 2009) | 3 lines
Attempt to fix Solaris buildbot failure on test_locale
........
Modified:
python/branches/release26-maint/ (props changed)
python/branches/release26-maint/Lib/locale.py
Modified: python/branches/release26-maint/Lib/locale.py
==============================================================================
--- python/branches/release26-maint/Lib/locale.py (original)
+++ python/branches/release26-maint/Lib/locale.py Wed Mar 18 18:11:06 2009
@@ -151,7 +151,7 @@
groups.reverse()
return (
left_spaces + thousands_sep.join(groups) + right_spaces,
- len(groups) - 1
+ len(thousands_sep) * (len(groups) - 1)
)
# Strip a given amount of excess padding from the given string
More information about the Python-checkins
mailing list