summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-09-25 20:40:18 +0000
committerZac Medico <zmedico@gentoo.org>2006-09-25 20:40:18 +0000
commitbe6030376aa3d958bd0cadf6522337ba27694835 (patch)
treecef5220d7c5041b87c67814b72f1c8afa889a27d
parent657ea257e7ae07b3858fd03ecf90f68466278ec3 (diff)
downloadportage-be6030376aa3d958bd0cadf6522337ba27694835.tar.gz
portage-be6030376aa3d958bd0cadf6522337ba27694835.tar.bz2
portage-be6030376aa3d958bd0cadf6522337ba27694835.zip
Clean up the logic a little for bug #149092.
svn path=/main/trunk/; revision=4529
-rwxr-xr-xbin/emerge6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/emerge b/bin/emerge
index 7a5a9f7b3..cbc89940e 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1106,10 +1106,12 @@ class depgraph:
selected_pkg = ["blocks", myroot, x[1:], None]
else:
#We are not processing a blocker but a normal dependency
- if not arg:
+ if myparent:
+ """In some cases, dep_check will return deps that shouldn't
+ be proccessed any further, so they are identified and
+ discarded here."""
if "empty" not in self.myparams and \
"deep" not in self.myparams and \
- myparent and \
vardb.match(x):
continue