[PATCH] * backends/apt/helpers/aptBackend.py: - fix incorrect variable name
Michael Vogt
mvo at ubuntu.com
Wed Feb 13 10:34:52 PST 2008
---
backends/apt/helpers/aptBackend.py | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/backends/apt/helpers/aptBackend.py b/backends/apt/helpers/aptBackend.py
index adcc19e..4af6845 100644
--- a/backends/apt/helpers/aptBackend.py
+++ b/backends/apt/helpers/aptBackend.py
@@ -436,20 +436,14 @@ class PackageKitAptBackend(PackageKitBaseBackend):
self.percentage(None)
self.status(STATUS_INFO)
name, version, arch, data = self.get_package_from_id(package)
- installed = self._apt_cache[name].isInstalled
- #update = self._get_updated(pkg)
update = ""
obsolete = ""
- #desc,urls,reboot = self._get_update_extras(id)
- #cve_url = self._format_list(urls['cve'])
cve_url = ""
- #bz_url = self._format_list(urls['jira'])
bz_url = ""
- #vendor_url = self._format_list(urls['vendor'])
vendor_url = ""
reboot = "none"
desc = self._apt_cache[name].description
- self.update_detail(id,update,obsolete,vendor_url,bz_url,cve_url,reboot,desc)
+ self.update_detail(package,update,obsolete,vendor_url,bz_url,cve_url,reboot,desc)
def install_file (self, inst_file):
--
1.5.3.7
--GRPZ8SYKNexpdSJ7--
More information about the PackageKit
mailing list