Skip to contentSkip to conversation

KojiDownloader: use inherit=True when getting builds

PATCH New Lucas Meneghel Rodrigues 1 participant 1 message Dec 17, 2010 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KojiDownloader: use inherit=True when getting builds

From: Eduardo Habkost <[email protected]>

We want to follow inheritance when getting the latest build, like 'brew latest-pkg' does.

---
 client/tests/kvm/kvm_utils.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
client/tests/kvm/kvm_utils.py +1 -1
index 0d380b6..4f9ba12 100644
@@ -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,
Signature · 1 line
1.7.3.2