Merge pull request #1267 from Quentin-M/fix_allocator

make min_index optionnal in allocator's constructor
This commit is contained in:
Quentin Machu 2016-03-01 15:07:20 -05:00
commit 9ca6a8a194

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()