diff options
author | Robin Norwood <rnorwood@redhat.com> | 2008-05-22 10:57:45 -0400 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2008-05-22 18:27:25 +0100 |
commit | ae6e7ec7c41db9dbbe55d036b0203a546455fef9 (patch) | |
tree | 80d70a6812608124821459bae0c9290b8a99fbdb | |
parent | 27db53a5b77188b8283af8232ab7262ef26fb363 (diff) |
We never want to show self.txt, since it contains '(x/y) packagename' instead of just 'packagename'.
-rw-r--r-- | backends/yum/helpers/yumBackend.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/backends/yum/helpers/yumBackend.py b/backends/yum/helpers/yumBackend.py index 7f49ae182..4663f3768 100644 --- a/backends/yum/helpers/yumBackend.py +++ b/backends/yum/helpers/yumBackend.py @@ -1498,11 +1498,7 @@ class DownloadCallback(BaseMeter): ''' Get the name of the package being downloaded ''' - if self.text and type(self.text) == type(""): - name = self.text - else: - name = self.basename - return name + return self.basename def updateProgress(self,name,frac,fread,ftime): ''' |