ported old-style classes to new-style

This commit is contained in:
tpltnt
2019-05-15 08:17:44 +02:00
parent b55034853c
commit c8f11dc2d3
84 changed files with 183 additions and 149 deletions

View File

@ -37,7 +37,7 @@ GiB=1024*MiB
TiB=1024*GiB
PiB=1024*TiB
class Sizes:
class Sizes(object):
def __init__(self, mode, file_size, arity=2):
MAX_SEGSIZE = 128*KiB
self.mode = mode