diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-01-05 20:24:32 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-01-05 20:24:32 +0000 |
| commit | eef9f3c2100087c15e1a007194f556aea4d3905e (patch) | |
| tree | 0b090c703567c4896fe315e8b03d829fbf19d529 /lib/python/Components/EpgList.py | |
| parent | c3864fea05c28407fe78c9b0e794b8dcaf754255 (diff) | |
| download | enigma2-eef9f3c2100087c15e1a007194f556aea4d3905e.tar.gz enigma2-eef9f3c2100087c15e1a007194f556aea4d3905e.zip | |
nicer
Diffstat (limited to 'lib/python/Components/EpgList.py')
| -rw-r--r-- | lib/python/Components/EpgList.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/python/Components/EpgList.py b/lib/python/Components/EpgList.py index 881bf241..53832b1b 100644 --- a/lib/python/Components/EpgList.py +++ b/lib/python/Components/EpgList.py @@ -185,13 +185,11 @@ class EPGList(HTMLComponent, GUIComponent): test.append((service, direction, begTime)) # self.list = self.queryEPG(test, self.buildMultiEntry) tmp = self.queryEPG(test) - s = len(tmp) - cnt = 0 - while(cnt < s): - x = tmp[cnt] + cnt=0 + for x in tmp: if x[2] is not None: self.list[cnt]=self.buildMultiEntry(x[0], x[1], x[2], x[3], x[4], x[5], x[6]) - cnt += 1 + cnt+=1 self.l.setList(self.list) print time() - t |
