[yum-commits] yumdownloader.py

zpavlas at osuosl.org zpavlas at osuosl.org
Fri Feb 8 08:56:03 UTC 2013


 yumdownloader.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c87be1acf9d928dc4aaeb9568609ac06e06153b9
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date:   Fri Feb 8 09:55:40 2013 +0100

    downloader expects PackageObject, not TransactionMember.  BZ 908986

diff --git a/yumdownloader.py b/yumdownloader.py
index ba17edd..300e530 100755
--- a/yumdownloader.py
+++ b/yumdownloader.py
@@ -188,7 +188,7 @@ class YumDownloader(YumUtilBase):
             # Add newly added packages to the toDownload list
             for pkg in self.tsInfo.getMembers():
                 if not pkg in toDownload:
-                    toDownload.append(pkg)
+                    toDownload.append(pkg.po)
         if len(toDownload) == 0:
             self.logger.error('Nothing to download')
             sys.exit(1)


More information about the Yum-commits mailing list