InputBox/Screen: remove trailing semicolon
authorAndreas Oberritter <obi@opendreambox.org>
Thu, 31 Mar 2011 15:53:52 +0000 (17:53 +0200)
committerAndreas Oberritter <obi@opendreambox.org>
Thu, 31 Mar 2011 15:53:52 +0000 (17:53 +0200)
lib/python/Screens/InputBox.py
lib/python/Screens/Screen.py

index 914ab2b..1379768 100644 (file)
@@ -43,9 +43,9 @@ class InputBox(Screen):
                }, -1)
 
                if self["input"].type == Input.TEXT:
                }, -1)
 
                if self["input"].type == Input.TEXT:
-                       self.onShow.append(self.setKeyboardModeAscii);
+                       self.onShow.append(self.setKeyboardModeAscii)
                else:
                else:
-                       self.onShow.append(self.setKeyboardModeNone);
+                       self.onShow.append(self.setKeyboardModeNone)
 
        def gotAsciiCode(self):
                self["input"].handleAscii(getPrevAsciiCode())
 
        def gotAsciiCode(self):
                self["input"].handleAscii(getPrevAsciiCode())
index fa6999a..3210186 100644 (file)
@@ -49,7 +49,7 @@ class Screen(dict, GUISkin):
                # don't care about having or not having focus.
                self.stand_alone = False
 
                # don't care about having or not having focus.
                self.stand_alone = False
 
-               self.onShow.append(self.saveKeyboardMode);
+               self.onShow.append(self.saveKeyboardMode)
                self.onHide.append(self.restoreKeyboardMode)
                self.keyboardMode = None
 
                self.onHide.append(self.restoreKeyboardMode)
                self.keyboardMode = None