summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/sets/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/sets/__init__.py b/pym/portage/sets/__init__.py
index eaabd32df..8d488fa93 100644
--- 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)