diff options
author | Marius Mauch <genone@gentoo.org> | 2007-10-21 10:30:17 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2007-10-21 10:30:17 +0000 |
commit | 6f208bd2ec6cc1ef57b2e9efe143dacb9a5cd3fe (patch) | |
tree | bf96657fc272b4f3312969aee1185213d9f63963 | |
parent | 242b272e5728906de0ba7ecafc5ac1de588ab541 (diff) | |
download | portage-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__.py | 4 |
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 |