git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sort config file
[enigma2.git]
/
lib
/
python
/
Components
/
config.py
diff --git
a/lib/python/Components/config.py
b/lib/python/Components/config.py
index 3598fd6ea5d57a3dc62bfb42b188fb42cd17f5df..4cdd359a5205f65f11ec4abb7baec429a4f9e2d9 100644
(file)
--- 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':