[Python-checkins] r70457 - python/trunk/Lib/locale.py
antoine.pitrou
python-checkins at python.org
Wed Mar 18 18:10:04 CET 2009
Author: antoine.pitrou
Date: Wed Mar 18 18:10:04 2009
New Revision: 70457
Log:
Attempt to fix Solaris buildbot failure on test_locale
Modified:
python/trunk/Lib/locale.py
Modified: python/trunk/Lib/locale.py
==============================================================================
--- python/trunk/Lib/locale.py (original)
+++ python/trunk/Lib/locale.py Wed Mar 18 18:10:04 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