Disable false context-manager pylint error
This commit is contained in:
parent
d7951e3a10
commit
faa65bca3c
@ -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