From: Zac Medico Date: Fri, 19 Oct 2007 16:53:08 +0000 (-0000) Subject: Bug #196427 - Don't display news notifications when in --pretend mode. X-Git-Tag: v2.2_pre1~592 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1c3991ba5f6ae9387dcd8c57798d2ab7e39a98e2;p=portage.git Bug #196427 - Don't display news notifications when in --pretend mode. svn path=/main/trunk/; revision=8179 --- 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