Commit 4c92f80f authored by Vincent Pelletier's avatar Vincent Pelletier

BTreeData: Coding style.

Also, reuse existing local.
parent 82205803
......@@ -195,10 +195,10 @@ class BTreeData(Persistent):
# iterkeys, so call minKey repeatedly.
while True:
try:
next_key = minKey(offset)
key = minKey(offset)
except ValueError:
break
del tree[next_key]
del tree[key]
self.write('', offset)
if __name__ == '__main__':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment