diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-12-19 02:12:57 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-12-19 02:12:57 +0000 |
| commit | ed40f6f85c9c07c3c1224ae20601082c0309a631 (patch) | |
| tree | 4082515a3e85107bd4a278b6613857b58da1770f /lib/python/Screens/InputBox.py | |
| parent | b3658b04216ed3974047b4c4ec885ee0161d9267 (diff) | |
| download | enigma2-ed40f6f85c9c07c3c1224ae20601082c0309a631.tar.gz enigma2-ed40f6f85c9c07c3c1224ae20601082c0309a631.zip | |
some python import cleanups
lesser swig overhead
Diffstat (limited to 'lib/python/Screens/InputBox.py')
| -rw-r--r-- | lib/python/Screens/InputBox.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/python/Screens/InputBox.py b/lib/python/Screens/InputBox.py index bb8b63d9..6cdb42ee 100644 --- a/lib/python/Screens/InputBox.py +++ b/lib/python/Screens/InputBox.py @@ -1,15 +1,12 @@ -from enigma import * +from enigma import eRCInput, getPrevAsciiCode from Screens.Screen import Screen from Screens.MessageBox import MessageBox from Components.ActionMap import NumberActionMap from Components.Label import Label from Components.Input import Input -from Components.GUIComponent import * from Tools.BoundFunction import boundFunction from time import time -import os - class InputBox(Screen): def __init__(self, session, title = "", windowTitle = _("Input"), **kwargs): Screen.__init__(self, session) @@ -165,4 +162,4 @@ class PinInput(InputBox): self.triesEntry.tries.save() def showTries(self): - self["tries"].setText(_("Tries left:") + " " + str(self.getTries()))
\ No newline at end of file + self["tries"].setText(_("Tries left:") + " " + str(self.getTries())) |
