[haizea-commit] r518 - trunk/src/haizea/resourcemanager
haizea-commit at mailman.cs.uchicago.edu
haizea-commit at mailman.cs.uchicago.edu
Thu Sep 25 13:29:04 CDT 2008
Author: borja
Date: 2008-09-25 13:28:59 -0500 (Thu, 25 Sep 2008)
New Revision: 518
Modified:
trunk/src/haizea/resourcemanager/slottable.py
Log:
Silly silly bug
Modified: trunk/src/haizea/resourcemanager/slottable.py
===================================================================
--- trunk/src/haizea/resourcemanager/slottable.py 2008-09-25 06:13:14 UTC (rev 517)
+++ trunk/src/haizea/resourcemanager/slottable.py 2008-09-25 18:28:59 UTC (rev 518)
@@ -172,7 +172,7 @@
enditem = KeyValueWrapper(end, None)
startpos = bisect.bisect_left(self.reservationsByEnd, startitem)
endpos = bisect.bisect_right(self.reservationsByEnd, enditem)
- res = [x.value for x in self.reservationsByStart[startpos:endpos]]
+ res = [x.value for x in self.reservationsByEnd[startpos:endpos]]
return res
def get_reservations_starting_at(self, time):
More information about the Haizea-commit
mailing list