projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97a922a
)
Make sure the atoms are loaded when calling PackageSet.findAtomForPackage().
author
Zac Medico
<zmedico@gentoo.org>
Tue, 17 Jul 2007 04:35:22 +0000
(
04:35
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 17 Jul 2007 04:35:22 +0000
(
04:35
-0000)
svn path=/main/trunk/; revision=7289
pym/portage/sets/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/sets/__init__.py
b/pym/portage/sets/__init__.py
index eaabd32dfa3e1375f368aecabfbd1bb76ea98415..8d488fa9361bbca5a4834f1527e82f3364631b2c 100644
(file)
--- a/
pym/portage/sets/__init__.py
+++ b/
pym/portage/sets/__init__.py
@@
-91,6
+91,7
@@
class PackageSet(object):
if an error occurs while parsing PROVIDE."""
cpv_slot = "%s:%s" % (cpv, metadata["SLOT"])
cp = dep_getkey(cpv)
+ self.getAtoms() # make sure the atoms are loaded
atoms = self._atommap.get(cp)
if atoms:
best_match = best_match_to_list(cpv_slot, atoms)