Fix display_problems() logic some more. (trunk r10135:10137)
authorZac Medico <zmedico@gentoo.org>
Sat, 3 May 2008 19:52:39 +0000 (19:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 3 May 2008 19:52:39 +0000 (19:52 -0000)
svn path=/main/branches/2.1.2/; revision=10138

bin/emerge

index 038fdc1d16b89692b12872791a15ef7602485dcc..7f600dbc5b8bdf30980923b3f9a7843af6067624 100755 (executable)
@@ -7788,8 +7788,6 @@ def action_build(settings, trees, mtimedb,
 
                if not success:
                        mydepgraph.display_problems()
-
-               if not success:
                        # delete the current list and also the backup
                        # since it's probably stale too.
                        for k in ("resume", "resume_backup"):
@@ -7817,10 +7815,6 @@ def action_build(settings, trees, mtimedb,
                if not retval:
                        mydepgraph.display_problems()
                        return 1
-               display = pretend or \
-                       ((ask or tree or verbose) and not (quiet and not ask))
-               if not display:
-                       mydepgraph.display_problems()
 
        if "--pretend" not in myopts and \
                ("--ask" in myopts or "--tree" in myopts or \