mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-02 11:54:43 +00:00
added abstract run_checked()
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3316 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
b442809838
commit
f5f7007c34
1 changed files with 7 additions and 0 deletions
|
|
@ -16,6 +16,7 @@
|
|||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
import thread
|
||||
import linkcheck
|
||||
import linkcheck.decorators
|
||||
import linkcheck.log
|
||||
import linkcheck.threader
|
||||
import console
|
||||
|
|
@ -39,3 +40,9 @@ class CheckedTask (linkcheck.threader.StoppableThread):
|
|||
except StandardError:
|
||||
console.internal_error()
|
||||
|
||||
@linkcheck.decorators.notimplemented
|
||||
def run_checked (self):
|
||||
"""
|
||||
Overload in subclass.
|
||||
"""
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in a new issue