From f3cbeb8808dcfa9db6af1fca7ad84c756b403ac0 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Tue, 9 Oct 2018 15:47:38 -0700 Subject: [PATCH] Disable false context-manager pylint error --- src/pylorax/executils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pylorax/executils.py b/src/pylorax/executils.py index 4cbd4b9c..c5ea222e 100644 --- a/src/pylorax/executils.py +++ b/src/pylorax/executils.py @@ -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()