[Yum-devel] [PATCH] fix pylint error ************* Module yum.yumRepo E0602:1360:YumRepository._commonRetrieveDataMD: Undefined variable 'download_no_size'

Tim Lauridsen tim.lauridsen at googlemail.com
Tue Oct 20 04:28:18 UTC 2009


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

diff --git a/yum/yumRepo.py b/yum/yumRepo.py
index b3f502e..980adf5 100644
--- a/yum/yumRepo.py
+++ b/yum/yumRepo.py
@@ -1357,7 +1357,7 @@ class YumRepository(Repository, config.RepoConf):
         local_size  = 0
         for (ndata, nmdtype) in downloading_with_size: # Get total size...
             if ndata.size is None:
-                download_no_size.append((ndata, nmdtype))
+                downloading_no_size.append((ndata, nmdtype))
                 continue
             remote_size += int(ndata.size)
 
-- 
1.6.5.rc2



More information about the Yum-devel mailing list