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>
Thu, 12 May 2011 05:09:28 +0000 (22:09 -0700)
This typically isn't useful anymore, since Gentoo has stopped using
old-style virtuals.

pym/_emerge/actions.py

index 3710f7f87b041aa5d51a4de21d7ddbaebb8c0ed6..bab39b9e3bd671bf8f711903902d5ae7d3e53db0 100644 (file)
@@ -2995,10 +2995,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)