diff options
| author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2020-01-08 04:44:51 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-10 21:18:22 +0000 |
| commit | 49bd49c7c63b9f7ef8f062da32de11171776a461 (patch) | |
| tree | 767b91162ee3f362236d04e41bc36d1dc4a446a9 | |
| parent | 11094a42025196e2f3182036de9f135e80c2cae4 (diff) | |
| download | poky-49bd49c7c63b9f7ef8f062da32de11171776a461.tar.gz | |
oe-pkgdata-browser: Correct the prefix for kilo to "k"
(From OE-Core rev: a07d810ce2679dce994680c41101f211e7b77207)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rwxr-xr-x | scripts/oe-pkgdata-browser | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-pkgdata-browser b/scripts/oe-pkgdata-browser index 21e319481e..36b5e798fa 100755 --- a/scripts/oe-pkgdata-browser +++ b/scripts/oe-pkgdata-browser | |||
| @@ -35,7 +35,7 @@ def timeit(f): | |||
| 35 | 35 | ||
| 36 | def human_size(nbytes): | 36 | def human_size(nbytes): |
| 37 | import math | 37 | import math |
| 38 | suffixes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB'] | 38 | suffixes = ['B', 'kB', 'MB', 'GB', 'TB', 'PB'] |
| 39 | human = nbytes | 39 | human = nbytes |
| 40 | rank = 0 | 40 | rank = 0 |
| 41 | if nbytes != 0: | 41 | if nbytes != 0: |
