Remove unused filter_iuse_defaults() function.
authorZac Medico <zmedico@gentoo.org>
Sat, 25 Dec 2010 00:46:44 +0000 (16:46 -0800)
committerZac Medico <zmedico@gentoo.org>
Sat, 25 Dec 2010 00:46:44 +0000 (16:46 -0800)
pym/_emerge/resolver/output.py

index ea68bc3e01f0c114a5b1745d1a605516d9fb09a5..a7b5f5d20da5259378f1bf14166e39ac3ade7b7b 100644 (file)
@@ -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.