From 37f05ccab1a576bdd71be1f4f80ab6f621042d71 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Wed, 30 Nov 2016 12:59:46 -0600 Subject: [PATCH] lvmdbusd: Supress protected member access warning We want _run to be protected so that users outside of the class don't mistakenly use it. It's for internal use only. --- daemons/lvmdbusd/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/daemons/lvmdbusd/utils.py b/daemons/lvmdbusd/utils.py index 561b1586f..abee659b4 100644 --- a/daemons/lvmdbusd/utils.py +++ b/daemons/lvmdbusd/utils.py @@ -525,6 +525,7 @@ class MThreadRunner(object): @staticmethod def runner(obj): + # noinspection PyProtectedMember obj._run() with obj.cond: obj.function_complete = True -- 2.43.5