fix typos
authorghost <andreas.monzner@multimedia-labs.de>
Fri, 7 Nov 2008 23:52:00 +0000 (00:52 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Fri, 7 Nov 2008 23:52:00 +0000 (00:52 +0100)
lib/python/Components/NimManager.py

index 1ee8ddd..3c1fe45 100644 (file)
@@ -659,7 +659,7 @@ class NimManager:
        
        def canEqualTo(self, slotid):
                type = self.getNimType(slotid)
-               if self.getNimConfig(slotid) == "DVB-S2":
+               if type == "DVB-S2":
                        type = "DVB-S"
                nimList = self.getNimListOfType(type, slotid)
                for nim in nimList[:]:
@@ -667,10 +667,10 @@ class NimManager:
                        if mode.configMode.value == "loopthrough" or mode.configMode.value == "satposdepends":
                                nimList.remove(nim)
                return nimList
-       
+
        def canDependOn(self, slotid):
                type = self.getNimType(slotid)
-               if self.getNimConfig(slotid) == "DVB-S2":
+               if type == "DVB-S2":
                        type = "DVB-S"
                nimList = self.getNimListOfType(type, slotid)
                positionerList = []