summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorSebastian Luther <SebastianLuther@gmx.de>2010-09-10 22:19:02 +0200
committerZac Medico <zmedico@gentoo.org>2010-09-10 13:39:54 -0700
commitca9a73ad87b56f0997b566f24f251dbe345389fd (patch)
tree467ef2a4e33456f5b5b01813fb95c132437c9852 /pym
parent6099b2436c3142281a9b66edc8cb294f6589e813 (diff)
downloadportage-ca9a73ad87b56f0997b566f24f251dbe345389fd.tar.gz
portage-ca9a73ad87b56f0997b566f24f251dbe345389fd.tar.bz2
portage-ca9a73ad87b56f0997b566f24f251dbe345389fd.zip
config/p.mask: config from other repos than PORTDIR comes before profiles (like PORTDIR)
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/package/ebuild/_config/LocationsManager.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pym/portage/package/ebuild/_config/LocationsManager.py b/pym/portage/package/ebuild/_config/LocationsManager.py
index 88f500bd3..83d61050f 100644
--- a/pym/portage/package/ebuild/_config/LocationsManager.py
+++ b/pym/portage/package/ebuild/_config/LocationsManager.py
@@ -177,7 +177,7 @@ class LocationsManager(object):
self.profile_locations = tuple(self.profile_locations)
self.profile_and_user_locations = tuple(self.profile_and_user_locations)
- self.pmask_locations = [os.path.join(portdir, "profiles")]
- self.pmask_locations.extend(self.profiles)
- self.pmask_locations.extend(self.overlay_profiles)
- self.pmask_locations = tuple(self.pmask_locations)
+ self.pmask_locations = (
+ tuple([os.path.join(portdir, "profiles")] + self.overlay_profiles),
+ tuple(self.profiles),
+ )