diff options
Diffstat (limited to 'pym/_emerge/actions.py')
-rw-r--r-- | pym/_emerge/actions.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 70b06c654..1f00cb3a6 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2803,10 +2803,9 @@ def display_news_notification(root_config, myopts): if "news" not in settings.features: return - if not settings.treeVirtuals: - # Populate these using our existing vartree, to avoid - # having a temporary one instantiated. - settings._populate_treeVirtuals(trees["vartree"]) + # Populate these using our existing vartree, to avoid + # having a temporary one instantiated. + settings._populate_treeVirtuals_if_needed(trees["vartree"]) for repo in portdb.getRepositories(): unreadItems = checkUpdatedNewsItems( |