From b6f7217e7bdfe86a3b3d1da4d43fcb357b94c789 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Tue, 11 Oct 2005 01:33:17 +0000 Subject: [PATCH] sort config file --- lib/python/Components/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index 3598fd6e..4cdd359a 100644 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -37,7 +37,9 @@ class configFile: fileHandle = open("config", "w") - for x in self.configElements: + keys = self.configElements.keys() + keys.sort() + for x in keys: wstr = x + "=" + self.configElements[x] if wstr[len(wstr) - 1] != '\n': -- 2.30.2