diff mbox

[Branch,~linaro-validation/lava-scheduler/trunk] Rev 145: whoops, i accidentally committed broken code to trunk again...

Message ID 20120307051213.8207.5059.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Michael-Doyle Hudson March 7, 2012, 5:12 a.m. UTC
------------------------------------------------------------
revno: 145
committer: Michael Hudson-Doyle <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Wed 2012-03-07 18:10:27 +1300
message:
  whoops, i accidentally committed broken code to trunk again...
modified:
  lava_scheduler_app/tables.py


--
lp:lava-scheduler
https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk

You are subscribed to branch lp:lava-scheduler.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_scheduler_app/tables.py'
--- lava_scheduler_app/tables.py	2012-03-07 01:59:51 +0000
+++ lava_scheduler_app/tables.py	2012-03-07 05:10:27 +0000
@@ -77,7 +77,7 @@ 
     def json(cls, request, params=()):
         table = cls(None, None, params, _for_rendering=False)
         table.context = RequestContext(request)
-        our_cols = [_ColWrapper(name, table) for name in table.columns]
+        our_cols = [_ColWrapper(name, table) for name in table.columns.names()]
         return DataTableView.as_view(
             backend=QuerySetBackend(
                 queryset=table.get_queryset(),