##// END OF EJS Templates
util: fix human-readable printing of negative byte counts...
Gábor Stefanik -
r31946:f3b80537 default
parent child Browse files
Show More
@@ -2161,7 +2161,7 b' def unitcountfn(*unittable):'
2161 2161
2162 2162 def go(count):
2163 2163 for multiplier, divisor, format in unittable:
2164 if count >= divisor * multiplier:
2164 if abs(count) >= divisor * multiplier:
2165 2165 return format % (count / float(divisor))
2166 2166 return unittable[-1][2] % count
2167 2167
General Comments 0
You need to be logged in to leave comments. Login now