[yum-commits] yum/yumRepo.py
zpavlas at osuosl.org
zpavlas at osuosl.org
Thu Aug 29 14:33:47 UTC 2013
yum/yumRepo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fe31aee94c3282b3e13647f6d7aae9f36dd7d69b
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date: Thu Aug 29 13:33:44 2013 +0200
checkMD: re-check when xattr matches but size==0. BZ 1002494
diff --git a/yum/yumRepo.py b/yum/yumRepo.py
index 970b628..3b44eaa 100644
--- a/yum/yumRepo.py
+++ b/yum/yumRepo.py
@@ -1756,7 +1756,7 @@ Insufficient space in download directory %s
if l_csum:
fsize = misc.stat_f(file)
if fsize is not None: # We just got an xattr, so it should be there
- if size is None and l_csum == r_csum:
+ if size is None and l_csum == r_csum and fsize.st_size > 0:
return 1
if size == fsize.st_size and l_csum == r_csum:
return 1
More information about the Yum-commits
mailing list