Dont warn in AutoCommitTask.disable if not previously scheduled
This commit is contained in:
@@ -540,7 +540,7 @@ class AutoCommitTask(object):
|
||||
try:
|
||||
self._client.unschedule(self)
|
||||
except KeyError:
|
||||
log.warning("AutoCommitTask was not previously scheduled")
|
||||
pass
|
||||
|
||||
def _reschedule(self, at):
|
||||
if self._enabled:
|
||||
|
||||
Reference in New Issue
Block a user