summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage.py')
-rw-r--r--pym/portage.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 0ef963058..2a13f0c8a 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -3161,6 +3161,11 @@ def dep_eval(deplist):
return 1
elif x==1:
return 1
+ #XXX: unless there's no available atoms in the list
+ #in which case we need to assume that everything is
+ #okay as some ebuilds are relying on an old bug.
+ if len(deplist) == 1:
+ return 1
return 0
else:
for x in deplist: