aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/config.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-10-11 01:33:17 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-10-11 01:33:17 +0000
commitb6f7217e7bdfe86a3b3d1da4d43fcb357b94c789 (patch)
treed609474a1a5149391cc29c09fb0d935e7cba48d2 /lib/python/Components/config.py
parent7c1700cc9ba3cae93b1868bb14b57d61f497e9a4 (diff)
downloadenigma2-b6f7217e7bdfe86a3b3d1da4d43fcb357b94c789.tar.gz
enigma2-b6f7217e7bdfe86a3b3d1da4d43fcb357b94c789.zip
sort config file
Diffstat (limited to 'lib/python/Components/config.py')
-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':