From 59147eda738934553f1ac78a29d2bcbc4f560181 Mon Sep 17 00:00:00 2001 From: skyjake Date: Mon, 6 Feb 2012 11:40:11 +0000 Subject: [PATCH] Host: Avoid repeated rebuilds A time range's end is excluded from the check. --- doomsday/host/doomsday-host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doomsday/host/doomsday-host b/doomsday/host/doomsday-host index 96757e87c0..a2180a5d84 100755 --- a/doomsday/host/doomsday-host +++ b/doomsday/host/doomsday-host @@ -132,7 +132,7 @@ def timeInRange(mark, start, end): e = breakTime(end) if mark[0] != s[0] or mark[0] != e[0]: return False markMins = mins(mark[1], mark[2]) - if markMins < mins(s[1], s[2]) or markMins > mins(e[1], e[2]): + if markMins < mins(s[1], s[2]) or markMins >= mins(e[1], e[2]): return False return True