diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-30 04:57:34 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-30 04:57:34 +0000 |
commit | c7faa634369e61b87a40172ceb0a5cb9494fd518 (patch) | |
tree | 3109717e381ff64b62639a14fb96c56a5ef8d480 /doc/custom.xsl | |
parent | 54ac8602e32a16ffa19686557f6f731fc45fec08 (diff) | |
download | portage-c7faa634369e61b87a40172ceb0a5cb9494fd518.tar.gz portage-c7faa634369e61b87a40172ceb0a5cb9494fd518.tar.bz2 portage-c7faa634369e61b87a40172ceb0a5cb9494fd518.zip |
When checking for news items in --pretend mode, pass update=False into
the NewsManager.getUnreadItems() call. Emerge shouldn't have to update
anything anyway when in --pretend mode, and this helps to avoid potential
permission problems. In order to pass the relevant information about
options (--pretend state) to the new code, supporting function parameters
have been added to display_news_notification(), post_emerge(), and
checkUpdatedNewsItems().
svn path=/main/trunk/; revision=11278
Diffstat (limited to 'doc/custom.xsl')
0 files changed, 0 insertions, 0 deletions