diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-02-12 21:25:08 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-02-12 21:25:08 +0100 |
| commit | 76e5181cade262b86610dcc851bcb4452196ccdc (patch) | |
| tree | 25831b32e1543b893a033729e472dd679dffdc64 /lib/python/Components/ServiceList.py | |
| parent | 00248c1a8794e64b8ce82d9cdefdd3ddae98dffd (diff) | |
| download | enigma2-76e5181cade262b86610dcc851bcb4452196ccdc.tar.gz enigma2-76e5181cade262b86610dcc851bcb4452196ccdc.zip | |
small speedups/cleanups by moritz venn
Diffstat (limited to 'lib/python/Components/ServiceList.py')
| -rw-r--r-- | lib/python/Components/ServiceList.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/python/Components/ServiceList.py b/lib/python/Components/ServiceList.py index b5e44b4d..b0283c11 100644 --- a/lib/python/Components/ServiceList.py +++ b/lib/python/Components/ServiceList.py @@ -5,8 +5,6 @@ from skin import parseColor, parseFont from enigma import eListboxServiceContent, eListbox, eServiceCenter, eServiceReference, gFont, eRect from Tools.LoadPixmap import LoadPixmap -from string import upper - from Tools.Directories import resolveFilename, SCOPE_SKIN_IMAGE class ServiceList(HTMLComponent, GUIComponent): @@ -113,7 +111,7 @@ class ServiceList(HTMLComponent, GUIComponent): # TODO fill with life print "Next char: " index = self.l.getNextBeginningWithChar(char) - indexup = self.l.getNextBeginningWithChar(upper(char)) + indexup = self.l.getNextBeginningWithChar(char.upper()) if indexup != 0: if (index > indexup or index == 0): index = indexup |
