From: Zac Medico Date: Sat, 25 Dec 2010 00:46:44 +0000 (-0800) Subject: Remove unused filter_iuse_defaults() function. X-Git-Tag: v2.2.0_alpha11~40 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7b8051236f5faf908d8cbb35980925523513bd87;p=portage.git Remove unused filter_iuse_defaults() function. --- 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.