remove debug output
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 20 Oct 2008 21:22:45 +0000 (21:22 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 20 Oct 2008 21:22:45 +0000 (21:22 +0000)
lib/python/Screens/TimerEdit.py

index 81836fd0e2c121e63d82f77ec2d4b2d287224878..5e486272a51698ed6631e5662ce74528d5fdb683 100644 (file)
@@ -379,7 +379,6 @@ class TimerSanityConflict(Screen):
        def updateState(self):
                if self.timer[0] is not None:
                        green_text = self["key_green"].getText()
        def updateState(self):
                if self.timer[0] is not None:
                        green_text = self["key_green"].getText()
-                       print "green_text '%s'" %(green_text)
                        if self.timer[0].disabled and green_text != _("Enable"):
                                self["actions"].actions.update({"green":self.toggleTimer1})
                                self["key_green"].setText(_("Enable"))
                        if self.timer[0].disabled and green_text != _("Enable"):
                                self["actions"].actions.update({"green":self.toggleTimer1})
                                self["key_green"].setText(_("Enable"))
@@ -394,11 +393,8 @@ class TimerSanityConflict(Screen):
                                self["key_green"].instance.invalidate()
                if len(self.timer) > 1:
                        x = self["list"].getSelectedIndex()
                                self["key_green"].instance.invalidate()
                if len(self.timer) > 1:
                        x = self["list"].getSelectedIndex()
-                       print "x: ",x
-                       print "timer[x]: ", self.timer[x]
                        if self.timer[x] is not None:
                                blue_text = self["key_blue"].getText()
                        if self.timer[x] is not None:
                                blue_text = self["key_blue"].getText()
-                               print "blue_text '%s'" %(blue_text)
                                if self.timer[x].disabled and blue_text != _("Enable"):
                                        self["actions"].actions.update({"blue":self.toggleTimer2})
                                        self["key_blue"].setText(_("Enable"))
                                if self.timer[x].disabled and blue_text != _("Enable"):
                                        self["actions"].actions.update({"blue":self.toggleTimer2})
                                        self["key_blue"].setText(_("Enable"))