Clean up the logic a little for bug #149092.
authorZac Medico <zmedico@gentoo.org>
Mon, 25 Sep 2006 20:40:18 +0000 (20:40 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 25 Sep 2006 20:40:18 +0000 (20:40 -0000)
svn path=/main/trunk/; revision=4529

bin/emerge

index 7a5a9f7b3b6828071626cad043499d92fdfb88ea..cbc89940e44ad22edd0400902ae50dd7807556fc 100755 (executable)
@@ -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