projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d9b39d
)
Fix Atom -> str breakage in WorldSet.write().
author
Zac Medico
<zmedico@gentoo.org>
Fri, 20 Jun 2008 22:31:17 +0000
(22:31 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 20 Jun 2008 22:31:17 +0000
(22:31 -0000)
svn path=/main/trunk/; revision=10749
pym/portage/sets/files.py
patch
|
blob
|
history
diff --git
a/pym/portage/sets/files.py
b/pym/portage/sets/files.py
index b03a60e9b9872e0715aa7bae1769474804cba114..be356ec7eab0200d5d11e484c818ac8724d7a6ce 100644
(file)
--- a/
pym/portage/sets/files.py
+++ b/
pym/portage/sets/files.py
@@
-185,7
+185,8
@@
class WorldSet(EditablePackageSet):
return setname.startswith(SETPREFIX)
def write(self):
- write_atomic(self._filename, "\n".join(sorted(self._atoms))+"\n")
+ write_atomic(self._filename,
+ "".join(sorted("%s\n" % x for x in self._atoms)))
write_atomic(self._filename2, "\n".join(sorted(self._nonatoms))+"\n")
def load(self):