diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-02-25 20:42:04 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-02-25 20:42:04 +0000 |
commit | 727abd89a87db835906fb53e0455feb75ae323d8 (patch) | |
tree | 248a3ad8ae7d0123c1e5a3d103e91faa9c70395b /pym/_emerge/actions.py | |
parent | 9eb73c4553cb066ed210ab0ffec53028e25b6b09 (diff) | |
download | portage-727abd89a87db835906fb53e0455feb75ae323d8.tar.gz portage-727abd89a87db835906fb53e0455feb75ae323d8.tar.bz2 portage-727abd89a87db835906fb53e0455feb75ae323d8.zip |
Move dep_expand and cpv_expand into portage.dbapi submodules.
svn path=/main/trunk/; revision=15460
Diffstat (limited to 'pym/_emerge/actions.py')
-rw-r--r-- | pym/_emerge/actions.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 " + \ |