Attempt to fix Solaris buildbot failure on test_locale

This commit is contained in:
Antoine Pitrou 2009-03-18 17:10:04 +00:00
parent 6b265f1bf8
commit 7c33bd5ecb
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ def _group(s, monetary=False):
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