From patchwork Fri Dec 17 12:34:22 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 416571 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBHGYvxH018484 for ; Fri, 17 Dec 2010 16:34:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754240Ab0LQQez (ORCPT ); Fri, 17 Dec 2010 11:34:55 -0500 Received: from mx1.redhat.com ([209.132.183.28]:17692 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752903Ab0LQQey (ORCPT ); Fri, 17 Dec 2010 11:34:54 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oBHGYq0L009080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 17 Dec 2010 11:34:52 -0500 Received: from autotest.virt.bos.redhat.com (autotest.virt.bos.redhat.com [10.16.72.47]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oBHGYphH002137; Fri, 17 Dec 2010 11:34:52 -0500 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Eduardo Habkost Subject: [PATCH] KojiDownloader: use inherit=True when getting builds Date: Fri, 17 Dec 2010 07:34:22 -0500 Message-Id: <1292589262-12311-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 17 Dec 2010 16:34:58 +0000 (UTC) diff --git a/client/tests/kvm/kvm_utils.py b/client/tests/kvm/kvm_utils.py index 0d380b6..4f9ba12 100644 --- a/client/tests/kvm/kvm_utils.py +++ b/client/tests/kvm/kvm_utils.py @@ -1349,7 +1349,7 @@ class KojiDownloader(object): "provide an appropriate tag or build name.") if not build: - builds = self.session.listTagged(tag, latest=True, + builds = self.session.listTagged(tag, latest=True, inherit=True, package=src_package) if not builds: raise ValueError("Tag %s has no builds of %s" % (tag,