From 76e5181cade262b86610dcc851bcb4452196ccdc Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 12 Feb 2009 21:25:08 +0100 Subject: small speedups/cleanups by moritz venn --- lib/python/Components/ServiceList.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/python/Components/ServiceList.py') 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 -- cgit v1.2.3