From 727abd89a87db835906fb53e0455feb75ae323d8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 25 Feb 2010 20:42:04 +0000 Subject: Move dep_expand and cpv_expand into portage.dbapi submodules. svn path=/main/trunk/; revision=15460 --- pym/_emerge/actions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pym/_emerge/actions.py') diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 702ccff98..b45c95c15 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -27,6 +27,7 @@ from portage import digraph from portage import _unicode_decode from portage.cache.cache_errors import CacheError from portage.const import NEWS_LIB_PATH +from portage.dbapi.dep_expand import dep_expand from portage.output import blue, bold, colorize, create_color_func, darkgreen, \ red, yellow good = create_color_func("GOOD") @@ -2212,7 +2213,7 @@ def action_uninstall(settings, trees, ldpath_mtimes, try: valid_atoms.append( - portage.dep_expand(x, mydb=vardb, settings=settings)) + dep_expand(x, mydb=vardb, settings=settings)) except portage.exception.AmbiguousPackageName as e: msg = "The short ebuild name \"" + x + \ "\" is ambiguous. Please specify " + \ -- cgit v1.2.3-1-g7c22