Prevent --update and/or --deep style behavior when the user hasn't specified them...
authorZac Medico <zmedico@gentoo.org>
Thu, 21 Sep 2006 07:44:05 +0000 (07:44 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 21 Sep 2006 07:44:05 +0000 (07:44 -0000)
svn path=/main/trunk/; revision=4492

bin/emerge

index 118de5aec5ababcde1dcfedf3f979a6339f5275c..2b741d4be355b48f2fe6bf4fa2d9a80be80496df 100755 (executable)
@@ -1108,6 +1108,11 @@ class depgraph:
                        else:
                                #We are not processing a blocker but a normal dependency
                                if not arg:
+                                       if "empty" not in self.myparams and \
+                                               "deep" not in self.myparams and \
+                                               vardb.match(x):
+                                               continue
+
                                        pkg_key = portage.dep_getkey(x)
                                        if pkg_key in pkgsettings.pprovideddict and \
                                                portage.match_from_list(