From ca9a73ad87b56f0997b566f24f251dbe345389fd Mon Sep 17 00:00:00 2001 From: Sebastian Luther Date: Fri, 10 Sep 2010 22:19:02 +0200 Subject: [PATCH] config/p.mask: config from other repos than PORTDIR comes before profiles (like PORTDIR) --- pym/portage/package/ebuild/_config/LocationsManager.py | 8 ++++---- 1 file 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), + ) -- 2.26.2