diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-11-06 12:16:56 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-11-06 12:16:56 +0100 |
| commit | 3c8f046e30595b284a2b9c391a7ee7bdf662a284 (patch) | |
| tree | 39d1fbbfbb9a3309669944e32a33a1e9f3609893 /lib/python | |
| parent | 43115f56227db0f655402fef45d1a2fc60533f86 (diff) | |
| download | enigma2-3c8f046e30595b284a2b9c391a7ee7bdf662a284.tar.gz enigma2-3c8f046e30595b284a2b9c391a7ee7bdf662a284.zip | |
Revert "bug #258"
This reverts commit 0bc4d77344f249d7e3c0adb2b2ea58d74f2d02ea.
its broken yet
Diffstat (limited to 'lib/python')
| -rwxr-xr-x[-rw-r--r--] | lib/python/Components/config.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index d9f2104e..876e3a34 100644..100755 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -1184,10 +1184,7 @@ class ConfigSatlist(ConfigSelection): def __init__(self, list, default = None): if default is not None: default = str(default) - choices = [(str(orbpos), desc) for (orbpos, desc, flags) in list] - choices.sort(key = lambda x: int(x[0])) - - ConfigSelection.__init__(self, choices = choices, default = default) + ConfigSelection.__init__(self, choices = [(str(orbpos), desc) for (orbpos, desc, flags) in list], default = default) def getOrbitalPosition(self): if self.value == "": |
