summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-04-13 14:31:06 +0100
committerRichard Hughes <richard@hughsie.com>2008-04-13 14:31:53 +0100
commit037b960b0be8189faa28e7d16eeed14c962fbecd (patch)
treea22022e4c5d830857c641b4b483cc3850612d7df
parent125d5c9d3c4ac5b53fe97cc91885c412670b83f8 (diff)
don't error out with 'Package is not installed' when geting requires of a not-installed package. Fixes rh#442221
-rw-r--r--backends/yum/helpers/yumBackend.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/backends/yum/helpers/yumBackend.py b/backends/yum/helpers/yumBackend.py
index 95b5f1a52..b1666ddaa 100644
--- a/backends/yum/helpers/yumBackend.py
+++ b/backends/yum/helpers/yumBackend.py
@@ -684,10 +684,6 @@ class PackageKitYumBackend(PackageKitBaseBackend):
for txmbr in self.yumbase.tsInfo:
if txmbr.po.name != pkg.name:
self._show_package(txmbr.po,INFO_INSTALLED)
- else:
- self.error(ERROR_PACKAGE_NOT_INSTALLED,"Package is not installed")
-
-
def _is_inst(self,pkg):
return self.yumbase.rpmdb.installed(po=pkg)