summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-19 16:53:08 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-19 16:53:08 +0000
commit1c3991ba5f6ae9387dcd8c57798d2ab7e39a98e2 (patch)
tree95bfe5bd706bf8355a78a4b12b5531b49db110f7
parentebc8fa31554b2bbb425835bc3f75c0819b6fe7c5 (diff)
downloadportage-1c3991ba5f6ae9387dcd8c57798d2ab7e39a98e2.tar.gz
portage-1c3991ba5f6ae9387dcd8c57798d2ab7e39a98e2.tar.bz2
portage-1c3991ba5f6ae9387dcd8c57798d2ab7e39a98e2.zip
Bug #196427 - Don't display news notifications when in --pretend mode.
svn path=/main/trunk/; revision=8179
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
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