aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/ParentalControlSetup.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/python/Screens/ParentalControlSetup.py b/lib/python/Screens/ParentalControlSetup.py
index 944fc6a2..d17ee73e 100644
--- a/lib/python/Screens/ParentalControlSetup.py
+++ b/lib/python/Screens/ParentalControlSetup.py
@@ -185,16 +185,16 @@ class ParentalControlEditor(Screen):
def chooseLetter(self):
print "choose letter"
- list = []
+ mylist = []
for x in self.servicesList.keys():
if x == '&':
x = ("special characters", x)
else:
x = (x, x)
- list.append(x)
- print "sorted list:", sorted(list, key=operator.itemgetter(1))
+ mylist.append(x)
+ mylist.sort(key=operator.itemgetter(1))
print self.servicesList.keys()
- self.session.openWithCallback(self.letterChosen, ChoiceBox, title=_("Show services beginning with"), list=list)
+ self.session.openWithCallback(self.letterChosen, ChoiceBox, title=_("Show services beginning with"), list=mylist)
def letterChosen(self, result):
if result is not None: