aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2009-11-07 13:51:48 +0100
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2009-11-07 13:51:48 +0100
commit835d4ae513afbbb62c7739070ef3c23eade22e62 (patch)
tree3ccabefac04fec4e1d72afcbcf2ab5877b35a0af /lib
parent56068e5ec25361c2a06eb9f0133eeebb32cf44c1 (diff)
downloadenigma2-835d4ae513afbbb62c7739070ef3c23eade22e62.tar.gz
enigma2-835d4ae513afbbb62c7739070ef3c23eade22e62.zip
fixes bug #258 (again)
sorting of satlist moved to another, not so destructive state
Diffstat (limited to 'lib')
-rw-r--r--lib/python/Components/NimManager.py7
-rwxr-xr-xlib/python/Components/config.py1
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index 47325327..1dff777a 100644
--- a/lib/python/Components/NimManager.py
+++ b/lib/python/Components/NimManager.py
@@ -565,9 +565,10 @@ class NimManager:
if self.hasNimType("DVB-S"):
print "Reading satellites.xml"
db.readSatellites(self.satList, self.satellites, self.transponders)
-# print "SATLIST", self.satList
-# print "SATS", self.satellites
-# print "TRANSPONDERS", self.transponders
+ self.satList.sort(key = lambda x: x[0]) # sort by orbpos
+ #print "SATLIST", self.satList
+ #print "SATS", self.satellites
+ #print "TRANSPONDERS", self.transponders
if self.hasNimType("DVB-C"):
print "Reading cables.xml"
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py
index cf2c5e29..baa6c35b 100755
--- a/lib/python/Components/config.py
+++ b/lib/python/Components/config.py
@@ -1148,7 +1148,6 @@ class ConfigSatlist(ConfigSelection):
def __init__(self, list, default = None):
if default is not None:
default = str(default)
- list.sort(key = lambda x: int(x[0]))
self._satList = list
choices = [(str(orbpos), desc) for (orbpos, desc, flags) in list]