web/views/csvexport.py
changeset 10663 54b8a1f249fb
parent 10609 e2d8e81bfe68
child 10666 7f6b5f023884
--- a/web/views/csvexport.py	Tue Sep 15 16:15:03 2015 +0200
+++ b/web/views/csvexport.py	Tue Oct 13 15:09:22 2015 +0200
@@ -100,7 +100,7 @@
             rows = rows_by_type[entity.e_schema]
             rows.append([entity.printable_value(rs.type, format='text/plain')
                          for rs in rowdef_by_type[entity.e_schema]])
-        for rows in rows_by_type.itervalues():
+        for rows in rows_by_type.values():
             writer.writerows(rows)
             # use two empty lines as separator
             writer.writerows([[], []])