Merge pull request #1267 from Quentin-M/fix_allocator
make min_index optionnal in allocator's constructor
This commit is contained in:
commit
9ca6a8a194
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Reference in a new issue