[Yum-devel] [PATCH] Fix traceback when downloading one MD w/size.

Ville Skyttä ville.skytta at iki.fi
Fri Oct 16 20:13:08 UTC 2009


---
 yum/yumRepo.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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
-- 
1.6.2.5



More information about the Yum-devel mailing list