[yum-commits] repoquery.py
skvidal at osuosl.org
skvidal at osuosl.org
Wed Mar 11 13:23:29 UTC 2009
repoquery.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 693511c71d617b65d351ab4a2840db9ec6bfb94a
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Wed Mar 11 09:21:31 2009 -0400
this is a simple fix to remove all installed pkgs from the returned pkgs
of any repoquery
diff --git a/repoquery.py b/repoquery.py
index cb5a241..7669fd4 100755
--- a/repoquery.py
+++ b/repoquery.py
@@ -394,7 +394,7 @@ class YumBaseQuery(yum.YumBase):
qpkgs = []
for pkg in pkgs:
if isinstance(pkg, yum.packages.YumInstalledPackage):
- qpkg = instPkgQuery(pkg, qf)
+ continue
else:
qpkg = repoPkgQuery(pkg, qf)
qpkgs.append(qpkg)
More information about the Yum-commits
mailing list