display_news_notification: don't populate virts
authorZac Medico <zmedico@gentoo.org>
Mon, 9 May 2011 06:27:39 +0000 (23:27 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 9 May 2011 06:27:39 +0000 (23:27 -0700)
This typically isn't useful anymore, since Gentoo has stopped using
old-style virtuals.

pym/_emerge/actions.py

index 9bc3aafc5678d355531128458f592b0e7bff2797..007984eea7ab4610dec04cd8ef6d024d35bdc2fe 100644 (file)
@@ -3016,10 +3016,6 @@ def display_news_notification(root_config, myopts):
        if "news" not in settings.features:
                return
 
-       # 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(
                        portdb, vardb, NEWS_PATH, UNREAD_PATH, repo, update=update)