From 7b8051236f5faf908d8cbb35980925523513bd87 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 24 Dec 2010 16:46:44 -0800 Subject: [PATCH] Remove unused filter_iuse_defaults() function. --- pym/_emerge/resolver/output.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/pym/_emerge/resolver/output.py b/pym/_emerge/resolver/output.py index ea68bc3e0..a7b5f5d20 100644 --- a/pym/_emerge/resolver/output.py +++ b/pym/_emerge/resolver/output.py @@ -5,7 +5,7 @@ """ __all__ = ( - "Display", "filter_iuse_defaults" + "Display", ) import sys @@ -31,19 +31,6 @@ if sys.hexversion >= 0x3000000: basestring = str -def filter_iuse_defaults(iuse): - """Performs an absolute value action on an use flag list. - - @param iuse: list of use flags - @rtype list - """ - for flag in iuse: - if flag.startswith("+") or flag.startswith("-"): - yield flag[1:] - else: - yield flag - - class Display(object): """Formats and outputs the depgrah supplied it for merge/re-merge, etc. -- 2.26.2