summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index a900dbb61..d21960449 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -10329,9 +10329,7 @@ def unmerge(root_config, myopts, unmerge_action,
# cycle through all our candidate deps and determine
# what will and will not get unmerged
try:
- mymatch=localtree.dep_match(x)
- except KeyError:
- mymatch=None
+ mymatch = vartree.dbapi.match(x)
except ValueError, errpkgs:
print "\n\n!!! The short ebuild name \"" + \
x + "\" is ambiguous. Please specify"