diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-04-21 13:57:55 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-04-21 13:57:55 +0100 |
commit | 86ac9b738e676bd1838555317253db5733b9f64e (patch) | |
tree | 7a75a4b56628e80878e3885f1f0a4222d1a26eea /insert-remove-test | |
parent | 0a53d9ab222426ac34cc641c442c2e362e01f48d (diff) | |
download | larch-86ac9b738e676bd1838555317253db5733b9f64e.tar.gz |
Make open_forest give NodeStoreDisk the allow_writes flag
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 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() |