summaryrefslogtreecommitdiff
path: root/insert-remove-test
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-04-21 13:57:55 +0100
committerLars Wirzenius <liw@liw.fi>2012-04-21 13:57:55 +0100
commit86ac9b738e676bd1838555317253db5733b9f64e (patch)
tree7a75a4b56628e80878e3885f1f0a4222d1a26eea /insert-remove-test
parent0a53d9ab222426ac34cc641c442c2e362e01f48d (diff)
downloadlarch-86ac9b738e676bd1838555317253db5733b9f64e.tar.gz
Make open_forest give NodeStoreDisk the allow_writes flag
Diffstat (limited to 'insert-remove-test')
-rwxr-xr-xinsert-remove-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/insert-remove-test b/insert-remove-test
index 141051d..dd6cecf 100755
--- a/insert-remove-test
+++ b/insert-remove-test
@@ -95,7 +95,7 @@ def main():
if os.path.exists(location):
raise Exception('%s exists already' % location)
os.mkdir(location)
- ns = larch.NodeStoreDisk(node_size, codec, dirname=location)
+ ns = larch.NodeStoreDisk(True, node_size, codec, dirname=location)
forest = larch.Forest(ns)
tree = forest.new_tree()