From: Zac Medico Date: Sun, 19 Sep 2010 06:01:26 +0000 (-0700) Subject: Invert SetArg conditional in depgraph._set_args(), for clarity. X-Git-Tag: v2.2_rc84~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4f947efbded8028260d920a0c8de01180884fc48;p=portage.git Invert SetArg conditional in depgraph._set_args(), for clarity. --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index de0592185..b231de322 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -1949,10 +1949,11 @@ class depgraph(object): for arg in self._expand_set_args(args, add_to_digraph=False): atom_arg_map = self._dynamic_config.sets[ arg.root_config.root].atom_arg_map - if isinstance(arg, (AtomArg, PackageArg)): - atom_group = non_set_atoms[arg.root_config.root] - else: + if isinstance(arg, SetArg): atom_group = set_atoms[arg.root_config.root] + else: + atom_group = non_set_atoms[arg.root_config.root] + for atom in arg.pset.getAtoms(): atom_group.append(atom) atom_key = (atom, arg.root_config.root)