From: Zac Medico Date: Sat, 23 Jun 2012 01:23:20 +0000 (-0700) Subject: Package: save validated_atoms as tuple X-Git-Tag: v2.2.0_alpha111~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=165ba13a74452fe52b24f5dd3724fe48190f3234;p=portage.git Package: save validated_atoms as tuple --- diff --git a/pym/_emerge/Package.py b/pym/_emerge/Package.py index 7bf7181ba..14d069449 100644 --- a/pym/_emerge/Package.py +++ b/pym/_emerge/Package.py @@ -185,8 +185,8 @@ class Package(Task): except InvalidDependString as e: self._metadata_exception(k, e) - self._validated_atoms = frozenset(atom for atom in - validated_atoms if isinstance(atom, Atom)) + self._validated_atoms = tuple(set(atom for atom in + validated_atoms if isinstance(atom, Atom))) k = 'PROVIDE' v = self.metadata.get(k)