From 6f208bd2ec6cc1ef57b2e9efe143dacb9a5cd3fe Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Sun, 21 Oct 2007 10:30:17 +0000 Subject: restore proper call logic svn path=/main/trunk/; revision=8201 --- pym/_emerge/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pym/_emerge') 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 -- cgit v1.2.3-1-g7c22