summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/dep.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dep.py b/pym/portage/dep.py
index c241408a5..fe3f04f59 100644
--- a/pym/portage/dep.py
+++ b/pym/portage/dep.py
@@ -620,7 +620,7 @@ class Atom(_atom_base):
@rtype: Atom
@return: an atom instance with any USE conditionals evaluated
"""
- if not self.use.conditional:
+ if not (self.use and self.use.conditional):
return self
atom = remove_slot(self)
if self.slot: