From 215cf657d0e218d39d110c3c6b01cb27a64567e4 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 20 Jun 2008 22:31:17 +0000 Subject: [PATCH] Fix Atom -> str breakage in WorldSet.write(). svn path=/main/trunk/; revision=10749 --- pym/portage/sets/files.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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): -- 2.26.2