From: Zac Medico Date: Thu, 28 Jun 2007 01:22:19 +0000 (-0000) Subject: Just use a containment test for matching pprovided args since it works correctly... X-Git-Tag: v2.2_pre1~1130 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4b3390fd0b42eda22d798488c175db1c94be634e;p=portage.git Just use a containment test for matching pprovided args since it works correctly and match_to_list() isn't appropriate for this. svn path=/main/trunk/; revision=7065 --- 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: