projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c050d94
)
Fix WorldSelectedSet._load2() to always return a list instead of a
author
Zac Medico
<zmedico@gentoo.org>
Wed, 1 Sep 2010 05:31:24 +0000
(22:31 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 1 Sep 2010 05:31:24 +0000
(22:31 -0700)
set for nonatoms so that we don't trigger 'TypeError: can only
concatenate list (not "set") to list'.
pym/portage/_sets/files.py
patch
|
blob
|
history
diff --git
a/pym/portage/_sets/files.py
b/pym/portage/_sets/files.py
index e880c1eff8a3c72c8318f44e9980ad20f23d2134..c474f1b5f9d892974ffc589135680bfff7004ab8 100644
(file)
--- 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