From: Marius Mauch Date: Sun, 21 Oct 2007 10:30:17 +0000 (-0000) Subject: restore proper call logic X-Git-Tag: v2.2_pre1~571 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6f208bd2ec6cc1ef57b2e9efe143dacb9a5cd3fe;p=portage.git restore proper call logic svn path=/main/trunk/; revision=8201 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 652f556a1..539b5740b 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -6779,7 +6779,9 @@ def emerge_main(): display_news_notification(trees) retval = action_build(settings, trees, mtimedb, myopts, myaction, myfiles, spinner) - if "--pretend" not in myopts: + # if --pretend was enabled then display_news_notification + # was already called by post_emerge + if "--pretend" in myopts: display_news_notification(trees) return retval