fix get_requires to output the right thing. I'm a python legendgit diff woohoogit diff I'm the bestest python dude in the world....
This commit is contained in:
parent
e7caa06a37
commit
218837ada1
@ -511,7 +511,10 @@ class PackageKitYumBackend(PackageKitBaseBackend):
|
||||
pkg,inst = self._findPackage(package)
|
||||
pkgs = self.yumbase.rpmdb.searchRequires(pkg.name)
|
||||
for pkg in pkgs:
|
||||
self._show_package(pkg,inst)
|
||||
if inst:
|
||||
self._show_package(pkg,INFO_INSTALLED)
|
||||
else:
|
||||
self._show_package(pkg,INFO_AVAILABLE)
|
||||
|
||||
def _is_inst(self,pkg):
|
||||
return self.yumbase.rpmdb.installed(po=pkg)
|
||||
|
Loading…
Reference in New Issue
Block a user