That shouldn't be there.

This commit is contained in:
Stéphan Kochen 2004-04-12 20:58:37 +00:00
parent edc6ea83f2
commit 1feffe91ac

View File

@ -89,7 +89,6 @@ 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."""
del self.events[name] del self.events[name]
heapq.heappop(self.schedule)
self.schedule = [(t, n) for (t, n) in self.schedule if n != name] self.schedule = [(t, n) for (t, n) in self.schedule if n != name]
def addPeriodicEvent(self, f, t, name=None): def addPeriodicEvent(self, f, t, name=None):