summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-31 22:31:24 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-31 22:31:24 -0700
commit31cdef0abb5e060e8dff1458f2fae4d765041fb7 (patch)
tree874b5007308d2bbf94806fc198ab613140a4ec9c
parentc050d9441afa4523c1a7a5341e3daae90e4c2a4e (diff)
downloadportage-31cdef0abb5e060e8dff1458f2fae4d765041fb7.tar.gz
portage-31cdef0abb5e060e8dff1458f2fae4d765041fb7.tar.bz2
portage-31cdef0abb5e060e8dff1458f2fae4d765041fb7.zip
Fix WorldSelectedSet._load2() to always return a list instead of a
set for nonatoms so that we don't trigger 'TypeError: can only concatenate list (not "set") to list'.
-rw-r--r--pym/portage/_sets/files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/_sets/files.py b/pym/portage/_sets/files.py
index e880c1eff..c474f1b5f 100644
--- a/pym/portage/_sets/files.py
+++ b/pym/portage/_sets/files.py
@@ -291,7 +291,7 @@ class WorldSelectedSet(EditablePackageSet):
self._mtime2 = mtime
changed = True
else:
- nonatoms = self._nonatoms
+ nonatoms = list(self._nonatoms)
return changed, nonatoms