projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2d7055
)
Fix atom -> str breakage in StaticFileSet.write().
author
Zac Medico
<zmedico@gentoo.org>
Mon, 18 Aug 2008 07:47:18 +0000
(07:47 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 18 Aug 2008 07:47:18 +0000
(07:47 -0000)
svn path=/main/trunk/; revision=11432
pym/portage/sets/files.py
patch
|
blob
|
history
diff --git
a/pym/portage/sets/files.py
b/pym/portage/sets/files.py
index be356ec7eab0200d5d11e484c818ac8724d7a6ce..d26f29d1db1b2be4553ff79465ed7087ea9e5ee8 100644
(file)
--- a/
pym/portage/sets/files.py
+++ b/
pym/portage/sets/files.py
@@
-59,9
+59,9
@@
class StaticFileSet(EditablePackageSet):
return ValidAtomValidator(atom)
def write(self):
- write_atomic(self._filename, "
\n".join(sorted(
-
chain(self._atoms, self._nonatoms)))+"\n"
)
-
+ write_atomic(self._filename, "
".join("%s\n" % (atom,) \
+
for atom in sorted(chain(self._atoms, self._nonatoms)))
)
+
def load(self):
try:
mtime = os.stat(self._filename).st_mtime