Disable false context-manager pylint error

This commit is contained in:
Brian C. Lane 2018-10-09 15:47:38 -07:00
parent 6fb5910acd
commit f3cbeb8808

View File

@ -27,6 +27,7 @@ import logging
log = logging.getLogger("pylorax") log = logging.getLogger("pylorax")
program_log = logging.getLogger("program") program_log = logging.getLogger("program")
# pylint: disable=not-context-manager
from threading import Lock from threading import Lock
program_log_lock = Lock() program_log_lock = Lock()