git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3864fe
)
nicer
author
Andreas Monzner
<
[email protected]
>
Thu, 5 Jan 2006 20:24:32 +0000
(20:24 +0000)
committer
Andreas Monzner
<
[email protected]
>
Thu, 5 Jan 2006 20:24:32 +0000
(20:24 +0000)
lib/python/Components/EpgList.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/EpgList.py
b/lib/python/Components/EpgList.py
index 881bf241d9abb0916027bdc0de5b509a1421e6b3..53832b1b2562e98db5acd0dbd9994bd5e83d1cd9 100644
(file)
--- 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