diff options
-rw-r--r-- | pym/_emerge/actions.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 399ff1001..f8c511a66 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2626,6 +2626,12 @@ def display_news_notification(root_config, myopts): newsReaderDisplay = False update = "--pretend" not in myopts + if not settings.treeVirtuals: + # Populate these using our existing vartree, to avoid + # having a temporary one instantiated. + settings.treeVirtuals = portage.util.map_dictlist_vals( + portage.getCPFromCPV, trees["vartree"].get_all_provides()) + for repo in portdb.getRepositories(): unreadItems = checkUpdatedNewsItems( portdb, vardb, NEWS_PATH, UNREAD_PATH, repo, update=update) |