From 76e5181cade262b86610dcc851bcb4452196ccdc Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 12 Feb 2009 21:25:08 +0100 Subject: small speedups/cleanups by moritz venn --- lib/python/Components/TimerSanityCheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python/Components/TimerSanityCheck.py') 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: -- cgit v1.2.3