fix display of function name in cancel message
This commit is contained in:
parent
2d4587c147
commit
724b008c4f
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ class Scheduler(IScheduler):
|
||||||
except KeyError:
|
except KeyError:
|
||||||
return False
|
return False
|
||||||
e.cancel()
|
e.cancel()
|
||||||
self.logger.debug('scheduled function "%s" is canceled' % e.function)
|
self.logger.debug('scheduled function "%s" is canceled' % e.function.__name__)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def _wait_to_stop(self):
|
def _wait_to_stop(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue