From 8ff8b0aad08d1381aeb410807881b46ba4bc7135 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 27 Jun 2011 21:33:17 +0200 Subject: [PATCH] pkg_use_display(): Use use.expand and use.expand_hidden attributes. --- pym/_emerge/UseFlagDisplay.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pym/_emerge/UseFlagDisplay.py b/pym/_emerge/UseFlagDisplay.py index 5cf82ec33..7c7958d32 100644 --- a/pym/_emerge/UseFlagDisplay.py +++ b/pym/_emerge/UseFlagDisplay.py @@ -60,10 +60,8 @@ class UseFlagDisplay(object): def pkg_use_display(pkg, opts): settings = pkg.root_config.settings - use_expand = settings.get('USE_EXPAND', '').split() - use_expand.sort() - use_expand_hidden = set( - settings.get('USE_EXPAND_HIDDEN', '').upper().split()) + use_expand = pkg.use.expand + use_expand_hidden = pkg.use.expand_hidden alphabetical_use = '--alphabetical' in opts forced_flags = set(chain(pkg.use.force, pkg.use.mask)) -- 2.26.2