1 |
commit: bf010663bec6dacc9b2a0891a329a16df0abf5c4 |
2 |
Author: dol-sen <brian.dolbec <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu May 26 03:11:46 2011 +0000 |
4 |
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
5 |
CommitDate: Thu May 26 03:11:46 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=bf010663 |
7 |
|
8 |
filter dupe'd USE flags. |
9 |
|
10 |
--- |
11 |
pym/portage/api/properties.py | 2 +- |
12 |
1 files changed, 1 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/pym/portage/api/properties.py b/pym/portage/api/properties.py |
15 |
index e292ec7..b885505 100644 |
16 |
--- a/pym/portage/api/properties.py |
17 |
+++ b/pym/portage/api/properties.py |
18 |
@@ -45,7 +45,7 @@ class Properties(object): |
19 |
|
20 |
def get_use_flags(self): |
21 |
"""Returns a list of strings.""" |
22 |
- return self.iuse.split() |
23 |
+ return list(set(self.iuse.split())) |
24 |
|
25 |
def get_homepages(self): |
26 |
"""Returns a list of strings.""" |