aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2010-07-24 12:33:58 +0200
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2010-07-24 12:33:58 +0200
commitfcb00fd6aecf823bafd8455c921c5a4b23a96e95 (patch)
treee65b9f0d19bae702ca2ee9d68d782c483186e62b /lib/python
parent1d8bd795e00ace3dde10b2ad5986a0593bc2c234 (diff)
downloadenigma2-fcb00fd6aecf823bafd8455c921c5a4b23a96e95.tar.gz
enigma2-fcb00fd6aecf823bafd8455c921c5a4b23a96e95.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)
Diffstat (limited to 'lib/python')
-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"