"""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__ = (
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: