##// END OF EJS Templates
util: fix bad variable use in bytecount introduced by f0f7f3fab315
Augie Fackler -
r16768:23a12554 stable
parent child Browse files
Show More
@@ -1186,7 +1186,7 b' def bytecount(nbytes):'
1186 1186 for multiplier, divisor, format in _byteunits:
1187 1187 if nbytes >= divisor * multiplier:
1188 1188 return format % (nbytes / float(divisor))
1189 return units[-1][2] % nbytes
1189 return _byteunits[-1][2] % nbytes
1190 1190
1191 1191 def uirepr(s):
1192 1192 # Avoid double backslash in Windows path repr()
General Comments 0
You need to be logged in to leave comments. Login now