[yum-commits] Branch 'yum-3_2_X' - yum/yumRepo.py

Ville Skyttä scop at osuosl.org
Fri Oct 16 21:06:07 UTC 2009


 yum/yumRepo.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e64e4ec9f24d36086b47525a137faf89ff4365b7
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Oct 16 23:11:33 2009 +0300

    Fix traceback when downloading one MD w/size.

diff --git a/yum/yumRepo.py b/yum/yumRepo.py
index 9c34190..b3f502e 100644
--- a/yum/yumRepo.py
+++ b/yum/yumRepo.py
@@ -1350,7 +1350,7 @@ class YumRepository(Repository, config.RepoConf):
                 downloading_with_size.append((ndata, nmdtype))
 
         if len(downloading_with_size) == 1:
-            downloading_no_size.update(downloading_with_size)
+            downloading_no_size.extend(downloading_with_size)
             downloading_with_size = []
 
         remote_size = 0


More information about the Yum-commits mailing list