summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/search.py
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gmail.com>2011-08-31 17:29:58 -0700
committerZac Medico <zmedico@gentoo.org>2011-09-12 14:23:10 -0700
commitf908cddb505b81533861196c4713378e63dac1fa (patch)
tree5b457d169759dee1981a9cd44b52d875a8ea80eb /pym/_emerge/search.py
parent53860ffa675b0cf1930589ff9fa15b5ffaa2cf75 (diff)
downloadportage-f908cddb505b81533861196c4713378e63dac1fa.tar.gz
portage-f908cddb505b81533861196c4713378e63dac1fa.tar.bz2
portage-f908cddb505b81533861196c4713378e63dac1fa.zip
Bind all manifest access through repoconfigs
This enables controling the behaviour (creation and validation) per repo, and while mildly ugly, refactors in the right direction.
Diffstat (limited to 'pym/_emerge/search.py')
-rw-r--r--pym/_emerge/search.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/_emerge/search.py b/pym/_emerge/search.py
index 096b38412..4a4183d09 100644
--- a/pym/_emerge/search.py
+++ b/pym/_emerge/search.py
@@ -317,7 +317,9 @@ class search(object):
installed=False, metadata=metadata,
root_config=self.root_config, type_name="ebuild")
pkgdir = os.path.dirname(myebuild)
- mf = Manifest(
+ mf = self.settings.repositories.get_repo_for_location(
+ os.path.dirname(os.path.dirname(pkgdir)))
+ mf = mf.load_manifest(
pkgdir, self.settings["DISTDIR"])
try:
uri_map = _parse_uri_map(mycpv, metadata,