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

Collapse All | Expand All

(-)a/pym/portage/dbapi/porttree.py (-2 / +5 lines)
Lines 495-502 class portdbapi(dbapi): Link Here
495
		relative_path = mysplit[0] + _os.sep + psplit[0] + _os.sep + \
495
		relative_path = mysplit[0] + _os.sep + psplit[0] + _os.sep + \
496
			mysplit[1] + ".ebuild"
496
			mysplit[1] + ".ebuild"
497
497
498
		skip_access = myrepo is not None and myrepo is getattr(mycpv, 'repo', None)
499
498
		for x in mytrees:
500
		for x in mytrees:
499
			filename = x + _os.sep + relative_path
501
			filename = x + _os.sep + relative_path
502
			if skip_access:
503
				return (filename, x)
500
			if _os.access(_unicode_encode(filename,
504
			if _os.access(_unicode_encode(filename,
501
				encoding=encoding, errors=errors), _os.R_OK):
505
				encoding=encoding, errors=errors), _os.R_OK):
502
				return (filename, x)
506
				return (filename, x)
Lines 644-650 class portdbapi(dbapi): Link Here
644
			future.set_exception(PortageKeyError(mycpv))
648
			future.set_exception(PortageKeyError(mycpv))
645
			return future
649
			return future
646
650
647
		myebuild, mylocation = self.findname2(mycpv, mytree)
651
		myebuild, mylocation = self.findname2(mycpv, mytree=mytree, myrepo=myrepo)
648
652
649
		if not myebuild:
653
		if not myebuild:
650
			writemsg("!!! aux_get(): %s\n" % \
654
			writemsg("!!! aux_get(): %s\n" % \
651
- 

Return to bug 650814