aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2010-07-24 12:33:58 +0200
committerghost <andreas.monzner@multimedia-labs.de>2010-10-06 22:15:42 +0200
commit403b761102b88bcd63f07fd2e0459c6e31833148 (patch)
tree144755c45f8fae344dfc5b044e727537cdfc4f9f
parent9bcad45ba1ad98b73f0a2e369b240c9ebedd129d (diff)
downloadenigma2-403b761102b88bcd63f07fd2e0459c6e31833148.tar.gz
enigma2-403b761102b88bcd63f07fd2e0459c6e31833148.zip
refs bug #460
swap bflag and eflag (begin and end flag for timer sanity check) old version: bflag = 1, eflag = -1 that lead to the sort function sorting timers with begin=end wrong: self.nrep_eventlist.extend([(self.newtimer.begin,self.bflag,-1),(self.newtimer.end,self.eflag,-1)]) resulted in (end, eflag) before (begin, bflag) and in a conflict with zapping timers with end=begin (no end time)
-rw-r--r--lib/python/Components/TimerSanityCheck.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/TimerSanityCheck.py b/lib/python/Components/TimerSanityCheck.py
index 8f48d1ec..b472a19e 100644
--- a/lib/python/Components/TimerSanityCheck.py
+++ b/lib/python/Components/TimerSanityCheck.py
@@ -12,8 +12,8 @@ class TimerSanityCheck:
self.simultimer = []
self.rep_eventlist = []
self.nrep_eventlist = []
- self.bflag = 1
- self.eflag = -1
+ self.bflag = -1
+ self.eflag = 1
def check(self, ext_timer=1):
print "check"