aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/config.py4
1 files changed, 3 insertions, 1 deletions
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':