From: Sebastian Luther Date: Fri, 10 Sep 2010 20:19:02 +0000 (+0200) Subject: config/p.mask: config from other repos than PORTDIR comes before profiles (like PORTDIR) X-Git-Tag: v2.2_rc80~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ca9a73ad87b56f0997b566f24f251dbe345389fd;p=portage.git config/p.mask: config from other repos than PORTDIR comes before profiles (like PORTDIR) --- 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), + )