[yum-commits] Branch 'yum-3_2_X' - yum/yumRepo.py
James Antill
james at osuosl.org
Mon Oct 26 19:13:18 UTC 2009
yum/yumRepo.py | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit f88ecf8ccfc457bfc2e7a41d9baad1b2c257f286
Author: James Antill <james at and.org>
Date: Tue Oct 20 09:49:18 2009 -0400
Get rid of unused block of code
diff --git a/yum/yumRepo.py b/yum/yumRepo.py
index 980adf5..3640aca 100644
--- a/yum/yumRepo.py
+++ b/yum/yumRepo.py
@@ -1356,9 +1356,6 @@ class YumRepository(Repository, config.RepoConf):
remote_size = 0
local_size = 0
for (ndata, nmdtype) in downloading_with_size: # Get total size...
- if ndata.size is None:
- downloading_no_size.append((ndata, nmdtype))
- continue
remote_size += int(ndata.size)
for (ndata, nmdtype) in downloading_with_size:
More information about the Yum-commits
mailing list