mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-20 06:10:59 +00:00
don't use a debug lock per default
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3433 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
44295e5bf8
commit
a1eff0bd3e
1 changed files with 3 additions and 1 deletions
|
|
@ -22,7 +22,9 @@ import linkcheck
|
|||
import log
|
||||
|
||||
def get_lock (name):
|
||||
return DebugLock(threading.Lock(), name)
|
||||
return threading.Lock()
|
||||
# for thread debugging, use the DebugLock wrapper
|
||||
#return DebugLock(threading.Lock(), name)
|
||||
|
||||
|
||||
class DebugLock (object):
|
||||
|
|
|
|||
Loading…
Reference in a new issue