From 1c3991ba5f6ae9387dcd8c57798d2ab7e39a98e2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 19 Oct 2007 16:53:08 +0000 Subject: [PATCH] Bug #196427 - Don't display news notifications when in --pretend mode. svn path=/main/trunk/; revision=8179 --- pym/_emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 587dcefbe..6519bc12d 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -6783,7 +6783,7 @@ def emerge_main(): display_news_notification(trees) retval = action_build(settings, trees, mtimedb, myopts, myaction, myfiles, spinner) - if "--pretend" in myopts: + if "--pretend" not in myopts: display_news_notification(trees) return retval -- 2.26.2