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 06225c1c4..fd6643dea 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -1560,10 +1560,8 @@ class depgraph(object):
if not mymerge and arg:
# A provided package has been specified on the command line. The
# package will not be merged and a warning will be displayed.
-
cp = portage.dep_getkey(depstring)
- if cp in self._args_atoms and \
- portage.match_to_list(depstring, self._args_atoms[cp]):
+ if cp in self._args_atoms and depstring in self._args_atoms[cp]:
self._pprovided_args.append(arg)
if myparent: