--- a/dataimport/deprecated.py Tue Sep 15 17:10:58 2015 +0200
+++ b/dataimport/deprecated.py Fri Sep 18 14:29:53 2015 +0200
@@ -79,7 +79,7 @@
>>> data = lazytable(ucsvreader(open(filename)))
"""
- header = reader.next()
+ header = next(reader)
for row in reader:
yield dict(zip(header, row))