aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/TimerSanityCheck.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-02-12 21:25:08 +0100
committerghost <andreas.monzner@multimedia-labs.de>2009-02-12 21:25:08 +0100
commit76e5181cade262b86610dcc851bcb4452196ccdc (patch)
tree25831b32e1543b893a033729e472dd679dffdc64 /lib/python/Components/TimerSanityCheck.py
parent00248c1a8794e64b8ce82d9cdefdd3ddae98dffd (diff)
downloadenigma2-76e5181cade262b86610dcc851bcb4452196ccdc.tar.gz
enigma2-76e5181cade262b86610dcc851bcb4452196ccdc.zip
small speedups/cleanups by moritz venn
Diffstat (limited to 'lib/python/Components/TimerSanityCheck.py')
-rw-r--r--lib/python/Components/TimerSanityCheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Components/TimerSanityCheck.py b/lib/python/Components/TimerSanityCheck.py
index 99b2fba5..cf02459d 100644
--- a/lib/python/Components/TimerSanityCheck.py
+++ b/lib/python/Components/TimerSanityCheck.py
@@ -37,7 +37,7 @@ class TimerSanityCheck:
if timer.begin == self.newtimer.begin:
getUnsignedDataRef1 = timer.service_ref.ref.getUnsignedData
getUnsignedDataRef2 = self.newtimer.service_ref.ref.getUnsignedData
- for x in range(1,5):
+ for x in (1, 2, 3, 4):
if getUnsignedDataRef1(x) != getUnsignedDataRef2(x):
break;
else: