make min_index optionnal in allocator's constructor

This commit is contained in:
Quentin Machu 2016-03-01 14:54:38 -05:00
parent bfcb1add48
commit ea013b8066

View file

@ -14,7 +14,7 @@ class NoAvailableKeysError(ValueError):
class CompletedKeys(object):
def __init__(self, min_index, max_index):
def __init__(self, max_index, min_index=0):
self._max_index = max_index
self._min_index = min_index
self._slabs = RBTree()