test_scan.py | raw changeset files shortlog |
1.1 --- a/test_scan.py Sat Oct 01 17:59:20 2011 +0200 1.2 +++ b/test_scan.py Sat Oct 01 19:33:58 2011 +0200 1.3 @@ -14,7 +14,7 @@ 1.4 1.5 f = open(filename) 1.6 accessor = DelimitedRecord(keys, numeric=(numeric == "true")) 1.7 -reader = TextFile(f, accessor) 1.8 +reader = TextFile(f, Iterator(accessor)) 1.9 try: 1.10 for term in terms: 1.11 reader.seek(0)