Clarify code
This commit is contained in:
parent
f32b5c1e71
commit
c25d6bee48
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ class Task(object):
|
||||||
self.finished = True
|
self.finished = True
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
pass
|
raise NotImplementedError
|
||||||
|
|
||||||
def cancel(self):
|
def cancel(self):
|
||||||
self._canceled = True
|
self._canceled = True
|
||||||
|
|
Loading…
Reference in a new issue