Clean up reporting of the parent of an unsatisfied atom.
authorJason Stubbs <jstubbs@gentoo.org>
Tue, 8 Nov 2005 12:19:18 +0000 (12:19 -0000)
committerJason Stubbs <jstubbs@gentoo.org>
Tue, 8 Nov 2005 12:19:18 +0000 (12:19 -0000)
svn path=/main/trunk/; revision=2264

bin/emerge

index 3a38f66a0a8817fd1643d1cba6323700abbe1a42..8a8b6beb4dd197aa32c71816ae5bc108f5642809 100755 (executable)
@@ -1277,17 +1277,14 @@ class depgraph:
                                                        print
                                                        print "For more information, see MASKED PACKAGES section in the emerge man page or "
                                                        print "refer to the Gentoo Handbook."
-                                                       if myparent:
-                                                               print     "!!!    "+red(xfrom)
-                                                       print
                                                else:
                                                        print "\n!!! "+red("There are no packages available to satisfy: ")+green(xinfo)
                                                        print "!!! Either add a suitable binary package or compile from an ebuild."
                                        else:
-                                               print "\nemerge: there are no ebuilds to satisfy "+xinfo+"."
-                                               if myparent:
-                                                       print xfrom
-                                               print
+                                               print "\nemerge: there are no ebuilds to satisfy "+green(xinfo)+"."
+                                       if myparent:
+                                               print xfrom
+                                       print
                                        return 0
 
                                if "--debug" in myopts: