summaryrefslogtreecommitdiffstats
path: root/bin/prepinfo
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-30 04:57:34 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-30 04:57:34 +0000
commitc7faa634369e61b87a40172ceb0a5cb9494fd518 (patch)
tree3109717e381ff64b62639a14fb96c56a5ef8d480 /bin/prepinfo
parent54ac8602e32a16ffa19686557f6f731fc45fec08 (diff)
downloadportage-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 'bin/prepinfo')
0 files changed, 0 insertions, 0 deletions