1 |
On Wed, 6 Aug 2014 18:33:08 +0200 |
2 |
Michał Górny <mgorny@g.o> wrote: |
3 |
|
4 |
> Fixes: https://bugs.gentoo.org/show_bug.cgi?id=519124 |
5 |
> --- |
6 |
> pym/portage/localization.py | 3 ++- |
7 |
> 1 file changed, 2 insertions(+), 1 deletion(-) |
8 |
> |
9 |
> diff --git a/pym/portage/localization.py b/pym/portage/localization.py |
10 |
> index e4d87b6..cd21567 100644 |
11 |
> --- a/pym/portage/localization.py |
12 |
> +++ b/pym/portage/localization.py |
13 |
> @@ -36,4 +36,5 @@ def localized_size(num_bytes): |
14 |
> |
15 |
> # always round up, so that small files don't end up as '0 |
16 |
> KiB' num_kib = math.ceil(num_bytes / 1024) |
17 |
> - return locale.format('%d', num_kib, grouping=True) + ' KiB' |
18 |
> + return (_unicode_decode(locale.format('%d', num_kib, |
19 |
> grouping=True)) |
20 |
> + + ' KiB') |
21 |
|
22 |
|
23 |
OK, commit this one. mark the bug inVCS, add it to the tracker bug. |
24 |
-- |
25 |
Brian Dolbec <dolsen> |