[OE-core] [PATCH 3/7] oe-pkgdata-browser: Correct the prefix for kilo to "k"

Peter Kjellerstedt peter.kjellerstedt at axis.com
Wed Jan 8 03:44:51 UTC 2020


Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
---
 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 21e319481e..36b5e798fa 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:
-- 
2.21.1



More information about the Openembedded-core mailing list