diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-10-11 01:33:17 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-10-11 01:33:17 +0000 |
| commit | b6f7217e7bdfe86a3b3d1da4d43fcb357b94c789 (patch) | |
| tree | d609474a1a5149391cc29c09fb0d935e7cba48d2 /lib/python | |
| parent | 7c1700cc9ba3cae93b1868bb14b57d61f497e9a4 (diff) | |
| download | enigma2-b6f7217e7bdfe86a3b3d1da4d43fcb357b94c789.tar.gz enigma2-b6f7217e7bdfe86a3b3d1da4d43fcb357b94c789.zip | |
sort config file
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Components/config.py | 4 |
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': |
