From 4b3390fd0b42eda22d798488c175db1c94be634e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 28 Jun 2007 01:22:19 +0000 Subject: 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 --- pym/emerge/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'pym') 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: -- cgit v1.2.3-1-g7c22