[haizea-commit] r827 - branches/1.1/src/haizea/core/scheduler
haizea-commit at mailman.cs.uchicago.edu
haizea-commit at mailman.cs.uchicago.edu
Fri Jul 9 17:07:32 CDT 2010
Author: borja
Date: 2010-07-09 17:07:32 -0500 (Fri, 09 Jul 2010)
New Revision: 827
Modified:
branches/1.1/src/haizea/core/scheduler/slottable.py
Log:
Extra check
Modified: branches/1.1/src/haizea/core/scheduler/slottable.py
===================================================================
--- branches/1.1/src/haizea/core/scheduler/slottable.py 2010-07-09 22:07:13 UTC (rev 826)
+++ branches/1.1/src/haizea/core/scheduler/slottable.py 2010-07-09 22:07:32 UTC (rev 827)
@@ -501,7 +501,7 @@
# time is after the existing start time *and* the requested start time is one of
# the changepoints covered by the availability window.
if self.awcache == None or start < self.awcache_time or (start >= self.awcache_time and not self.awcache.changepoints.has_key(start)):
- if start < self.awcache_time:
+ if self.awcache != None and start < self.awcache_time:
self.__get_aw_cache_miss(start, include = [self.awcache_time])
else:
self.__get_aw_cache_miss(start)
More information about the Haizea-commit
mailing list