diff options
author | Brian Dolbec <brian.dolbec@gmail.com> | 2011-02-10 21:49:11 -0800 |
---|---|---|
committer | Brian Dolbec <brian.dolbec@gmail.com> | 2011-02-10 21:50:59 -0800 |
commit | 768096f120ac1aec161416e284eeec97ef376b3d (patch) | |
tree | 53ad61950881f5c66b0c3456c38034bf8d1e42ce /pym/gentoolkit/helpers.py | |
parent | fix the missing unset flags issue due to my misleading variable name for "cle... (diff) | |
download | gentoolkit-768096f120ac1aec161416e284eeec97ef376b3d.tar.gz gentoolkit-768096f120ac1aec161416e284eeec97ef376b3d.tar.bz2 gentoolkit-768096f120ac1aec161416e284eeec97ef376b3d.zip |
apply djanderson's idea for a simpler/better fix to bug 353430 and commit 000ce49860b253ad6c917c5a58bc0ff31225134a for
use conditionals causing errors in equery results.
Diffstat (limited to 'pym/gentoolkit/helpers.py')
-rw-r--r-- | pym/gentoolkit/helpers.py | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/pym/gentoolkit/helpers.py b/pym/gentoolkit/helpers.py index cf1b138..cd8b763 100644 --- a/pym/gentoolkit/helpers.py +++ b/pym/gentoolkit/helpers.py @@ -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: |