From: Zac Medico Date: Mon, 16 Jul 2007 18:33:36 +0000 (-0000) Subject: Sort the atoms when writing the world file. X-Git-Tag: v2.2_pre1~1008 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0ba3c2a4de0dd08708fb96c27e4a4a97786485b5;p=portage.git Sort the atoms when writing the world file. svn path=/main/trunk/; revision=7285 --- diff --git a/pym/portage/sets/files.py b/pym/portage/sets/files.py index 7fa5fb24d..99d30d830 100644 --- a/pym/portage/sets/files.py +++ b/pym/portage/sets/files.py @@ -37,7 +37,7 @@ class StaticFileSet(EditablePackageSet): setattr(self, key, " ".join(value)) def write(self): - write_atomic(self._filename, "\n".join(self._atoms)+"\n") + write_atomic(self._filename, "\n".join(sorted(self._atoms))+"\n") def load(self): try: