summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-16 18:33:36 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-16 18:33:36 +0000
commit0ba3c2a4de0dd08708fb96c27e4a4a97786485b5 (patch)
treee35f2e6e638269bc5ae6b4f248385f09f12f47a8
parent5bb1af1357eba9f7404ad84be08ab28d2ee438fc (diff)
downloadportage-0ba3c2a4de0dd08708fb96c27e4a4a97786485b5.tar.gz
portage-0ba3c2a4de0dd08708fb96c27e4a4a97786485b5.tar.bz2
portage-0ba3c2a4de0dd08708fb96c27e4a4a97786485b5.zip
Sort the atoms when writing the world file.
svn path=/main/trunk/; revision=7285
-rw-r--r--pym/portage/sets/files.py2
1 files changed, 1 insertions, 1 deletions
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: