public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Brian Dolbec" <brian.dolbec@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:public_api commit in: pym/portage/api/
Date: Sat, 28 May 2011 06:53:48 +0000 (UTC)	[thread overview]
Message-ID: <bf010663bec6dacc9b2a0891a329a16df0abf5c4.dol-sen@gentoo> (raw)

commit:     bf010663bec6dacc9b2a0891a329a16df0abf5c4
Author:     dol-sen <brian.dolbec <AT> gmail <DOT> com>
AuthorDate: Thu May 26 03:11:46 2011 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Thu May 26 03:11:46 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=bf010663

filter dupe'd USE flags.

---
 pym/portage/api/properties.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pym/portage/api/properties.py b/pym/portage/api/properties.py
index e292ec7..b885505 100644
--- a/pym/portage/api/properties.py
+++ b/pym/portage/api/properties.py
@@ -45,7 +45,7 @@ class Properties(object):
 
 	def get_use_flags(self):
 		"""Returns a list of strings."""
-		return self.iuse.split()
+		return list(set(self.iuse.split()))
 
 	def get_homepages(self):
 		"""Returns a list of strings."""



             reply	other threads:[~2011-05-28  6:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-28  6:53 Brian Dolbec [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-07-28 20:42 [gentoo-commits] proj/portage:public_api commit in: pym/portage/api/ Brian Dolbec
2011-05-28  6:53 Brian Dolbec
2011-05-25 15:43 Brian Dolbec
2011-05-25 14:45 Brian Dolbec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bf010663bec6dacc9b2a0891a329a16df0abf5c4.dol-sen@gentoo \
    --to=brian.dolbec@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox