(trunk r12760)
svn path=/main/branches/2.1.6/; revision=13008
#getting categories from an external file now
categories = [grabfile(os.path.join(x, "categories")) for x in locations]
- self.categories = stack_lists(categories, incremental=1)
+ self.categories = tuple(sorted(
+ stack_lists(categories, incremental=1)))
del categories
archlist = [grabfile(os.path.join(x, "arch.list")) for x in locations]
from portage import settings
self.mysettings = config(clone=settings)
self._iuse_implicit = self.mysettings._get_implicit_iuse()
- self._categories = tuple(sorted(set(self.mysettings.categories)))
+ self._categories = self.mysettings.categories
# This is strictly for use in aux_get() doebuild calls when metadata
# is generated by the depend phase. It's safest to use a clone for
# this purpose because doebuild makes many changes to the config