From 678c1be35b6cb7a33def6389351157b1aa010822 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 23 Feb 2011 15:01:26 +0000 Subject: Change the forest factory to be a function, instead. No point in a class, since every call needs all parameters anyway. --- speed-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'speed-test') diff --git a/speed-test b/speed-test index b14b95c..599ed18 100755 --- a/speed-test +++ b/speed-test @@ -74,7 +74,7 @@ class SpeedTest(cliapp.Application): if os.path.exists(location): raise Exception('%s exists already' % location) os.mkdir(location) - ns = btree.NodeStoreDisk(location, node_size, codec) + ns = btree.NodeStoreDisk(node_size, codec, dirname=location) forest = btree.Forest(ns) tree = forest.new_tree() -- cgit v1.2.1