From: Zac Medico Date: Fri, 20 Jun 2008 22:31:17 +0000 (-0000) Subject: Fix Atom -> str breakage in WorldSet.write(). X-Git-Tag: v2.2_rc2~365 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=215cf657d0e218d39d110c3c6b01cb27a64567e4;p=portage.git Fix Atom -> str breakage in WorldSet.write(). svn path=/main/trunk/; revision=10749 --- diff --git a/pym/portage/sets/files.py b/pym/portage/sets/files.py index b03a60e9b..be356ec7e 100644 --- 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):