Forgot to remove that

This commit is contained in:
Florent Le Coz 2014-07-23 17:17:41 +02:00
parent 74117453b5
commit e5af0597a6

View File

@ -447,7 +447,6 @@ class XMLStream(object):
def _remove_schedules(self, event): def _remove_schedules(self, event):
"""Remove some schedules that become pointless when disconnected""" """Remove some schedules that become pointless when disconnected"""
self.cancel_schedule('Whitespace Keepalive') self.cancel_schedule('Whitespace Keepalive')
self.cancel_schedule('Certificate Expiration')
self.cancel_schedule('Disconnect wait') self.cancel_schedule('Disconnect wait')
def start_stream_handler(self, xml): def start_stream_handler(self, xml):
@ -684,7 +683,6 @@ class XMLStream(object):
try: try:
cb() cb()
except Exception as e: except Exception as e:
log.exception('Error processing scheduled task')
self.exception(e) self.exception(e)
def _execute_and_reschedule(self, name, cb, seconds): def _execute_and_reschedule(self, name, cb, seconds):