Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 116796 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/lib/portage/pym/portage.py.orig (+3 lines)
Lines 5506-5513 Link Here
5506
				print "[bad digest]: missing",myfile,"for",mypkg
5506
				print "[bad digest]: missing",myfile,"for",mypkg
5507
			elif myfile in mymd5s.keys():
5507
			elif myfile in mymd5s.keys():
5508
				distfile=settings["DISTDIR"]+"/"+myfile
5508
				distfile=settings["DISTDIR"]+"/"+myfile
5509
				verified_ok,reason = portage_checksum.verify_all(distfile, mymd5s[myfile])
5509
				if not os.access(distfile, os.R_OK):
5510
				if not os.access(distfile, os.R_OK):
5510
					filesdict[myfile]=int(mymd5s[myfile]["size"])
5511
					filesdict[myfile]=int(mymd5s[myfile]["size"])
5512
				elif not verified_ok and os.stat(distfile)[stat.ST_SIZE] < int(mymd5s[myfile]["size"]):
5513
					filesdict[myfile]=int(mymd5s[myfile]["size"] - os.stat(distfile)[stat.ST_SIZE])
5511
		return filesdict
5514
		return filesdict
5512
5515
5513
	def fetch_check(self, mypkg, useflags=None, mysettings=None, all=False):
5516
	def fetch_check(self, mypkg, useflags=None, mysettings=None, all=False):

Return to bug 116796