summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-17 04:21:51 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-17 04:21:51 +0000
commit97a922a3fd8150c8fb1a359e61d93ffc638f8e3e (patch)
tree8839678fa31ad0a91a138545470086bdf8cf9982
parent42d302bd8efac904a8069ccd503d3c36954bd6fb (diff)
downloadportage-97a922a3fd8150c8fb1a359e61d93ffc638f8e3e.tar.gz
portage-97a922a3fd8150c8fb1a359e61d93ffc638f8e3e.tar.bz2
portage-97a922a3fd8150c8fb1a359e61d93ffc638f8e3e.zip
Make sure PackageSet._atoms is always a set.
svn path=/main/trunk/; revision=7288
-rw-r--r--pym/portage/sets/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/sets/__init__.py b/pym/portage/sets/__init__.py
index 91ddc3573..eaabd32df 100644
--- a/pym/portage/sets/__init__.py
+++ b/pym/portage/sets/__init__.py
@@ -56,7 +56,7 @@ class PackageSet(object):
atoms.remove(a)
elif not isvalidatom(a):
raise InvalidAtom(a)
- self._atoms = atoms
+ self._atoms = set(atoms)
self._updateAtomMap()
def load(self):