------------------------------------------------------------
revno: 8
committer: Andres Salomon <dilinger@athenacr.com>
branch nick: trac-sortfix
timestamp: Thu 2006-03-02 18:19:32 -0500
message:
  Return lists instead of tuples from execute_report().  cursor.fetchall() needs
  to be manually casted; cursor.description already is a list.

=== modified file 'trac/ticket/report.py'
--- trac/ticket/report.py	
+++ trac/ticket/report.py	
@@ -410,7 +410,7 @@
         cursor.execute(sql, args)
 
         # FIXME: fetchall should probably not be used.
-        info = cursor.fetchall() or []
+        info = list(cursor.fetchall()) or []
         cols = cursor.description or []
 
         db.rollback()


