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

Collapse All | Expand All

(-)pym/portage/__init__.py (-2 / +9 lines)
Lines 3947-3955 Link Here
3947
					mysize = 0
3947
					mysize = 0
3948
				if (size - mysize + vfs_stat.f_bsize) >= \
3948
				if (size - mysize + vfs_stat.f_bsize) >= \
3949
					(vfs_stat.f_bsize * vfs_stat.f_bavail):
3949
					(vfs_stat.f_bsize * vfs_stat.f_bavail):
3950
					writemsg("!!! Insufficient space to store %s in %s\n" % (myfile, mysettings["DISTDIR"]), noiselevel=-1)
3950
					if 'userfetch' in features:
3951
					has_space = False
3951
						has_space = False
3952
					elif (size - mysize + vfs_stat.f_bfree) >= \
3953
						(vfs_stat.f_bfree * vfs_stat.f_bavail):
3954
						has_space = False
3952
3955
3956
			if not has_space:
3957
				writemsg("!!! Insufficient space to store %s in %s\n" % \
3958
					(myfile, mysettings["DISTDIR"]), noiselevel=-1)
3959
3953
			if distdir_writable and use_locks:
3960
			if distdir_writable and use_locks:
3954
3961
3955
				if locks_in_subdir:
3962
				if locks_in_subdir:

Return to bug 267104