1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-05 00:49:03 +02:00

formatting

This commit is contained in:
Kelly Brazil
2024-09-23 06:58:33 -07:00
parent 0955598b49
commit 0f367a435a

View File

@ -456,7 +456,7 @@ def convert_size_to_int(
# https://github.com/xolox/python-humanfriendly/issues/26
normalized_unit = normalized_unit.rstrip('s')
# Handle POSIX mode units where `k`, `m`, etc. are treated as bindary
# Handle POSIX mode units where `k`, `m`, etc. are treated as binary
# https://www.gnu.org/software/coreutils/manual/html_node/Block-size.html
if len(normalized_unit) == 1 and posix_mode:
normalized_unit = normalized_unit + 'ib'