summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-10 18:03:17 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-10 18:03:17 +0000
commite53d6f11378a9cd7a48e0a7c2b76d2828f03d57b (patch)
tree598fa8b832b1b7c1d53dc238020baf445e5f78be
parent82318e429057fa3e4f76f686a7e59fddf9a1becd (diff)
downloadportage-e53d6f11378a9cd7a48e0a7c2b76d2828f03d57b.tar.gz
portage-e53d6f11378a9cd7a48e0a7c2b76d2828f03d57b.tar.bz2
portage-e53d6f11378a9cd7a48e0a7c2b76d2828f03d57b.zip
Remove an unused function.
svn path=/main/trunk/; revision=9810
-rw-r--r--pym/_emerge/__init__.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index c2f059889..c947eafe9 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -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: