]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
oe-pkgdata-browser: Correct the prefix for kilo to "k"
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Wed, 8 Jan 2020 03:44:51 +0000 (04:44 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Jan 2020 20:32:04 +0000 (20:32 +0000)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-pkgdata-browser

index 21e319481e05ea7e28ee2b509e3fb9c9ab43e9ca..36b5e798fa8a608b5001e6e5677aa10812f085b8 100755 (executable)
@@ -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: