diff options
author | Paul Nasrat <pnasrat@redhat.com> | 2006-05-22 16:45:35 +0000 |
---|---|---|
committer | Paul Nasrat <pnasrat@redhat.com> | 2006-05-22 16:45:35 +0000 |
commit | e547d7a6cf3481b6779c247cc2717f99226bff42 (patch) | |
tree | fae440417a503010555bb79456a06529462acd43 | |
parent | 30bfcedd56514c021e22537e326855b5156a87d5 (diff) | |
download | anaconda-e547d7a6cf3481b6779c247cc2717f99226bff42.tar.gz anaconda-e547d7a6cf3481b6779c247cc2717f99226bff42.tar.xz anaconda-e547d7a6cf3481b6779c247cc2717f99226bff42.zip |
Display full NEVRA in log (#189308)
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | backend.py | 4 | ||||
-rw-r--r-- | yuminstall.py | 7 |
3 files changed, 8 insertions, 7 deletions
@@ -1,3 +1,7 @@ +2006-05-22 Paul Nasrat <pnasrat@redhat.com> + + * yuminstall.py, backend.py: Display full NEVRA in log (#189308) + 2006-05-19 David Cantrell <dcantrell@redhat.com> * anaconda.spec: Bump version. diff --git a/backend.py b/backend.py index c379a7709..24d59f32a 100644 --- a/backend.py +++ b/backend.py @@ -94,9 +94,9 @@ class AnacondaBackend: syslogname = None if upgrade: - self.modeText = _("Upgrading %s-%s-%s.%s.\n") + self.modeText = _("Upgrading %s\n") else: - self.modeText = _("Installing %s-%s-%s.%s.\n") + self.modeText = _("Installing %s\n") def kernelVersionList(self): pass diff --git a/yuminstall.py b/yuminstall.py index e10c5f2d5..510cbd0f8 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -128,13 +128,10 @@ class simpleCallback: self.progress.setPackage(hdr) self.progress.setPackageScale(0, 1) - self.instLog.write(self.modeText % (po.returnSimple('name'), - po.returnSimple('version'), - po.returnSimple('release'), - po.returnSimple('arch'))) + nvra = po.returnNevraPrintable() + self.instLog.write(self.modeText % (nvra,)) self.instLog.flush() - nvra = po.returnNevraPrintable() self.files[nvra] = None self.size = po.returnSimple('installedsize') |