Disable false context-manager pylint error
This commit is contained in:
parent
6fb5910acd
commit
f3cbeb8808
@ -27,6 +27,7 @@ import logging
|
||||
log = logging.getLogger("pylorax")
|
||||
program_log = logging.getLogger("program")
|
||||
|
||||
# pylint: disable=not-context-manager
|
||||
from threading import Lock
|
||||
program_log_lock = Lock()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user