Fix typo in schedule.

This commit is contained in:
Valentin Lorentz 2012-05-02 20:58:56 +02:00
parent 446349357d
commit 9352322075
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ class Schedule(drivers.IrcDriver):
def removeEvent(self, name): def removeEvent(self, name):
"""Removes the event with the given name from the schedule.""" """Removes the event with the given name from the schedule."""
f = self.events.pop(name) f = self.events.pop(name)
self.schedule = [x for x in self.schedule if n != name] self.schedule = [x for x in self.schedule if f != name]
# We must heapify here because the heap property may not be preserved # We must heapify here because the heap property may not be preserved
# by the above list comprehension. We could, conceivably, just mark # by the above list comprehension. We could, conceivably, just mark
# the elements of the heap as removed and ignore them when we heappop, # the elements of the heap as removed and ignore them when we heappop,

View File

@ -1,3 +1,3 @@
"""stick the various versioning attributes in here, so we only have to change """stick the various versioning attributes in here, so we only have to change
them once.""" them once."""
version = '0.83.4.1+limnoria (2012-05-02T18:58:36+0000)' version = '0.83.4.1+limnoria (2012-05-02T18:58:56+0000)'