diff mbox

[Autotest] Correct tko_kernels and tko_patches table name in tko/compose_query.cgi

Message ID 1264388064-30726-1-git-send-email-fyang@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Feng Yang Jan. 25, 2010, 2:54 a.m. UTC
None
diff mbox

Patch

diff --git a/tko/compose_query.cgi b/tko/compose_query.cgi
index b8bb301..62d3da1 100755
--- a/tko/compose_query.cgi
+++ b/tko/compose_query.cgi
@@ -223,7 +223,7 @@  def map_kernel_init():
     fields = ['base', 'k.kernel_idx', 'name', 'url']
     map = {}
     for (base, idx, name, url) in db_obj.select(','.join(fields),
-            'kernels k,patches p', 'k.kernel_idx=p.kernel_idx'):
+            'tko_kernels k, tko_patches p', 'k.kernel_idx=p.kernel_idx'):
         match = re.match(r'.*(-mm[0-9]+|-git[0-9]+)\.(bz2|gz)$', url)
         if match:
             continue