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

Tim Lauridsen timlau at osuosl.org
Tue Oct 20 05:06:47 UTC 2009


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

New commits:
commit ca0f09fc2c9b8ebb825548fe8ee075bec3a72a9b
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date:   Tue Oct 20 06:26:21 2009 +0200

    fix pylint error
    ************* Module yum.yumRepo
    E0602:1360:YumRepository._commonRetrieveDataMD: Undefined variable 'download_no_size'

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)
 


More information about the Yum-commits mailing list