From: Zac Medico Date: Thu, 10 Apr 2008 18:47:19 +0000 (-0000) Subject: Remove an unused function. (trunk r9810) X-Git-Tag: v2.1.5~205 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cbf8dcd93620f323528b199ac8313fbde92d40e1;p=portage.git Remove an unused function. (trunk r9810) svn path=/main/branches/2.1.2/; revision=9814 --- diff --git a/bin/emerge b/bin/emerge index fa1b4a0f0..26061908c 100755 --- a/bin/emerge +++ b/bin/emerge @@ -5692,17 +5692,6 @@ def chk_updated_cfg_files(target_root, config_protect): " section of the " + bold("emerge") print " "+yellow("*")+" man page to learn how to update config files." -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: