summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2007-10-21 10:30:17 +0000
committerMarius Mauch <genone@gentoo.org>2007-10-21 10:30:17 +0000
commit6f208bd2ec6cc1ef57b2e9efe143dacb9a5cd3fe (patch)
treebf96657fc272b4f3312969aee1185213d9f63963
parent242b272e5728906de0ba7ecafc5ac1de588ab541 (diff)
downloadportage-6f208bd2ec6cc1ef57b2e9efe143dacb9a5cd3fe.tar.gz
portage-6f208bd2ec6cc1ef57b2e9efe143dacb9a5cd3fe.tar.bz2
portage-6f208bd2ec6cc1ef57b2e9efe143dacb9a5cd3fe.zip
restore proper call logic
svn path=/main/trunk/; revision=8201
-rw-r--r--pym/_emerge/__init__.py4
1 files changed, 3 insertions, 1 deletions
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