small optimizations and cleanups by Moritz Venn
[enigma2.git] / lib / python / Screens / NumericalTextInputHelpDialog.py
index 39c644b986fcdd9fba621639e544ef85a06863e5..e097958717226ce7161fb97f1f27849012fb050d 100644 (file)
@@ -4,7 +4,7 @@ from Components.Label import Label
 class NumericalTextInputHelpDialog(Screen):
        def __init__(self, session, textinput):
                Screen.__init__(self, session)
-               for x in range(1, 10):
+               for x in (1, 2, 3, 4, 5, 6, 7, 8, 9):
                        self["key%d" % x] = Label(text=textinput.mapping[x].encode("utf-8"))
                self.last_marked = 0