From 047a5a85f0cfacfa39d86f66e806e05d26be7a8c Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Sat, 20 Jan 2007 01:12:10 +0000 Subject: small speedup --- lib/python/Screens/ChannelSelection.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/python/Screens') diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py index 78478374..5a0f1177 100644 --- a/lib/python/Screens/ChannelSelection.py +++ b/lib/python/Screens/ChannelSelection.py @@ -36,9 +36,7 @@ class BouquetSelector(Screen): "ok": self.okbuttonClick, "cancel": self.cancelClick }) - entrys = [ ] - for x in bouquets: - entrys.append((x[0], x[1])) + entrys = [ (x[0], x[1]) for x in bouquets ] self["menu"] = MenuList(entrys, enableWrapAround) def getCurrent(self): -- cgit v1.2.3