diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-12-30 19:33:58 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-12-30 19:33:58 +0000 |
commit | 26d30b8c228e005dcec03453b1592a5e93c625f0 (patch) | |
tree | 203cb5d5567d26ffc573261ec089a2bfc9914cc7 /insert-remove-test | |
parent | 1a162e1b6d1721957f9f884433ba2728e379472d (diff) | |
download | larch-26d30b8c228e005dcec03453b1592a5e93c625f0.tar.gz |
Use values() method, not pairs().
Diffstat (limited to 'insert-remove-test')
-rwxr-xr-x | insert-remove-test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/insert-remove-test b/insert-remove-test index 08e7fd9..83ef0c7 100755 --- a/insert-remove-test +++ b/insert-remove-test @@ -53,7 +53,7 @@ def assert_refcounts_are_one(tree): assert refcount == 1, 'type=%s id=%d refcount=%d' % (repr(node), node_id, refcount) if isinstance(node, btree.IndexNode): - for key, child_id in node.pairs(): + for child_id in node.values(): helper(child_id) helper(tree.root.id) |