
Arch yum urlgrabber "size" type error patch
By: a guest on
Nov 17th, 2011 | syntax:
Diff | size: 0.64 KB | hits: 52 | expires: Never
diff -Naur yum-3.4.3-orig/yum/yumRepo.py yum-3.4.3/yum/yumRepo.py
--- yum-3.4.3-orig/yum/yumRepo.py 2011-11-17 09:59:00.245102708 -0700
+++ yum-3.4.3/yum/yumRepo.py 2011-11-17 09:59:17.311770413 -0700
@@ -1613,7 +1613,7 @@
checkfunc=checkfunc,
text=text,
cache=self.http_caching == 'all',
- size=thisdata.size)
+ size=int(thisdata.size))
except (Errors.NoMoreMirrorsRepoError, Errors.RepoError):
if retrieve_can_fail:
return None