summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2012-11-29 22:00:31 -0800
committerKenneth Graunke <kenneth@whitecape.org>2012-11-29 22:00:31 -0800
commit5dbc923793ec757afff3b9aebb4cf5b02359baed (patch)
tree2ab64b2cf926621fe92a83026104351d644e22d0
parent8f08bb9a9d61f512be6a4d0ff8e96263b8672e24 (diff)
fix for date key conversion
-rw-r--r--framework/database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/database.py b/framework/database.py
index 90f393f..9c63aaa 100644
--- a/framework/database.py
+++ b/framework/database.py
@@ -67,7 +67,7 @@ class ResultDatabase:
def listRuns(self):
cursor = self.connection.cursor()
rs = cursor.execute('SELECT * FROM runs ORDER BY date DESC')
- return [{'date': r[0], 'name': r[1], 'driver': r[2], 'sysinfo': r[3]} for r in rs]
+ return [{'name': r[0], 'date': r[1], 'driver': r[2], 'sysinfo': r[3]} for r in rs]
def addPlaceholderResults(self, run, tests):
rows = [(run, test) for test in tests]