From patchwork Mon Jan 25 02:54:24 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Yang X-Patchwork-Id: 75013 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0P2sZbk008919 for ; Mon, 25 Jan 2010 02:54:35 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751737Ab0AYCy2 (ORCPT ); Sun, 24 Jan 2010 21:54:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751822Ab0AYCy2 (ORCPT ); Sun, 24 Jan 2010 21:54:28 -0500 Received: from mx1.redhat.com ([209.132.183.28]:12478 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751566Ab0AYCy2 (ORCPT ); Sun, 24 Jan 2010 21:54:28 -0500 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0P2sRLw029597 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 24 Jan 2010 21:54:27 -0500 Received: from localhost.localdomain ([10.66.91.72]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0P2sOfK008136; Sun, 24 Jan 2010 21:54:25 -0500 From: Feng Yang To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Feng Yang Subject: [Autotest][PATCH] Correct tko_kernels and tko_patches table name in tko/compose_query.cgi Date: Mon, 25 Jan 2010 10:54:24 +0800 Message-Id: <1264388064-30726-1-git-send-email-fyang@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org 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