From 3c8f046e30595b284a2b9c391a7ee7bdf662a284 Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 6 Nov 2009 12:16:56 +0100 Subject: [PATCH] Revert "bug #258" This reverts commit 0bc4d77344f249d7e3c0adb2b2ea58d74f2d02ea. its broken yet --- lib/python/Components/config.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) mode change 100644 => 100755 lib/python/Components/config.py diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py old mode 100644 new mode 100755 index d9f2104e..876e3a34 --- 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 == "": -- 2.30.2