1.1 --- a/test_indexed.py Sat Oct 01 19:33:58 2011 +0200
1.2 +++ b/test_indexed.py Sat Oct 01 20:49:15 2011 +0200
1.3 @@ -13,8 +13,11 @@
1.4 sys.exit(1)
1.5
1.6 f = open(filename)
1.7 -accessor = DelimitedRecord(keys, numeric=(numeric == "true"))
1.8 +accessor = DelimitedRecord(keys, converter=(numeric == "true" and ConvertNumeric() or None))
1.9 reader = TextFile(f, Iterator(accessor))
1.10 +
1.11 +print "Sort command:", accessor.get_sort_command()
1.12 +
1.13 try:
1.14 t = time.time()
1.15 l = make_index(reader, int(interval))