diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-10-15 11:38:35 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-10-15 11:38:35 -0700 |
commit | f4807e05962845c17d689b8bb80a1f55b85834c9 (patch) | |
tree | 472bfe76e953f5d02b36588f75a73a3eb36ccc2a /bin | |
parent | c6cd30c6165d39bf3cd040b3dc29bfec4323bbf2 (diff) | |
download | portage-f4807e05962845c17d689b8bb80a1f55b85834c9.tar.gz portage-f4807e05962845c17d689b8bb80a1f55b85834c9.tar.bz2 portage-f4807e05962845c17d689b8bb80a1f55b85834c9.zip |
frozenset categories optimize pordbapi.cp_list()
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/repoman | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/repoman b/bin/repoman index 2a6d7825b..b80b78386 100755 --- a/bin/repoman +++ b/bin/repoman @@ -680,9 +680,9 @@ categories = [] for path in set([portdir, repodir]): categories.extend(portage.util.grabfile( os.path.join(path, 'profiles', 'categories'))) -repoman_settings.categories = tuple(sorted( - portage.util.stack_lists([categories], incremental=1))) -categories = frozenset(repoman_settings.categories) +repoman_settings.categories = frozenset( + portage.util.stack_lists([categories], incremental=1)) +categories = repoman_settings.categories portdb.settings = repoman_settings root_config = RootConfig(repoman_settings, trees[root], None) |