[PATCH] Correct wrong table name 'tko_test_view' in tko/frontend.py.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Change tko_test_view to tko_test_view_2.
autotest_web do not have tko_test_view table.

Signed-off-by: Feng Yang <fyang@xxxxxxxxxx>
---
 tko/frontend.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tko/frontend.py b/tko/frontend.py
index 9033c20..0fd61f9 100644
--- a/tko/frontend.py
+++ b/tko/frontend.py
@@ -85,7 +85,7 @@ def get_matrix_data(db_obj, x_axis, y_axis, where = None,
     fields = ','.join(query_fields_list)
 
     group_by = '%s, %s, status' % (x_field, y_field)
-    rows = db_obj.select(fields, 'tko_test_view',
+    rows = db_obj.select(fields, 'tko_test_view_2',
                     where=where, group_by=group_by, max_rows = MAX_RECORDS)
     return status_data(rows, x_field, y_field, query_reasons)
 
-- 
1.5.5.6

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux