Remove an unused function.
authorZac Medico <zmedico@gentoo.org>
Thu, 10 Apr 2008 18:03:17 +0000 (18:03 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 10 Apr 2008 18:03:17 +0000 (18:03 -0000)
svn path=/main/trunk/; revision=9810

pym/_emerge/__init__.py

index c2f0598899bfe8c98b6f7f01ada3de5b52d8e41f..c947eafe98bce45bce841f7b3f34961714f4235c 100644 (file)
@@ -5677,17 +5677,6 @@ def checkUpdatedNewsItems(portdb, vardb, NEWS_PATH, UNREAD_PATH, repo_id):
        manager = NewsManager(portdb, vardb, NEWS_PATH, UNREAD_PATH)
        return manager.getUnreadItems( repo_id, update=True )
 
-def expand_virtual_atom(x):
-       """
-       Take an atom without a category and insert virtual/ for the
-       category. This works correctly with atoms that have operators.
-
-       @param x: an atom without a category
-       @type x: String
-       @returns: the atom with virtual/ inserted for the category, or None
-       """
-       return insert_category_into_atom(atom, "virtual")
-
 def insert_category_into_atom(atom, category):
        alphanum = re.search(r'\w', atom)
        if alphanum: