[oe-commits] [openembedded-core] 17/42: oe-pkgdata-browser: Correct the prefix for kilo to "k"

git at git.openembedded.org git at git.openembedded.org
Wed Jan 8 21:24:09 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit fde354bb4e80aa8e8772681be25f585696e35e23
Author: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
AuthorDate: Wed Jan 8 04:44:51 2020 +0100

    oe-pkgdata-browser: Correct the prefix for kilo to "k"
    
    Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 scripts/oe-pkgdata-browser | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/oe-pkgdata-browser b/scripts/oe-pkgdata-browser
index 21e3194..36b5e79 100755
--- a/scripts/oe-pkgdata-browser
+++ b/scripts/oe-pkgdata-browser
@@ -35,7 +35,7 @@ def timeit(f):
 
 def human_size(nbytes):
     import math
-    suffixes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB']
+    suffixes = ['B', 'kB', 'MB', 'GB', 'TB', 'PB']
     human = nbytes
     rank = 0
     if nbytes != 0:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list