* [gentoo-commits] portage r9408 - main/trunk/pym/portage
@ 2008-03-02 14:45 Marius Mauch (genone)
0 siblings, 0 replies; only message in thread
From: Marius Mauch (genone) @ 2008-03-02 14:45 UTC (permalink / raw
To: gentoo-commits
Author: genone
Date: 2008-03-02 14:45:52 +0000 (Sun, 02 Mar 2008)
New Revision: 9408
Modified:
main/trunk/pym/portage/__init__.py
Log:
stack use flags from package.use for multiple matching atoms (bug #200385)
Modified: main/trunk/pym/portage/__init__.py
===================================================================
--- main/trunk/pym/portage/__init__.py 2008-03-02 13:44:03 UTC (rev 9407)
+++ main/trunk/pym/portage/__init__.py 2008-03-02 14:45:52 UTC (rev 9408)
@@ -1904,9 +1904,15 @@
self.puse = ""
cpdict = self.pusedict.get(cp)
if cpdict:
- self.pusekey = best_match_to_list(cpv_slot, cpdict.keys())
- if self.pusekey:
- self.puse = " ".join(cpdict[self.pusekey])
+ keys = cpdict.keys()
+ while keys:
+ self.pusekey = best_match_to_list(cpv_slot, keys)
+ if self.pusekey:
+ keys.remove(self.pusekey)
+ self.puse += " "+" ".join(cpdict[self.pusekey])
+ else:
+ break
+ del keys
if oldpuse != self.puse:
has_changed = True
self.configdict["pkg"]["PKGUSE"] = self.puse[:] # For saving to PUSE file
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-03-02 14:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-02 14:45 [gentoo-commits] portage r9408 - main/trunk/pym/portage Marius Mauch (genone)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox