apply djanderson's idea for a simpler/better fix to bug 353430 and commit 000ce49860b...
[gentoolkit.git] / pym / gentoolkit / helpers.py
index cf1b138066201aba5480204ce436e741a2e567a7..cd8b763ffbbe731c9f193809a2193eb81c202312 100644 (file)
@@ -7,7 +7,7 @@
 """Miscellaneous helper functions and classes.
 
 @note: find_* functions that previously lived here have moved to
-       the query module, where they are called as: Query('portage').find_*().
+          the query module, where they are called as: Query('portage').find_*().
 """
 
 __all__ = (
@@ -476,16 +476,4 @@ def uniqify(seq, preserve_order=True):
 
        return result
 
-def uniqify_atoms(seq):
-       """Return a uniqified list."""
-       seen = set()
-       result = []
-       for x in seq:
-               dep = x.get_depstr()
-               if dep not in seen:
-                       result.append(x)
-                       seen.add(dep)
-
-       return result
-
 # vim: set ts=4 sw=4 tw=79: