From 5cf51fb2f74ad43a2555bc391cf069caa1d99775 Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Thu, 27 Apr 2017 18:12:20 +0200 Subject: [PATCH] dbus: log_debug needs qualifier Adding qualifier makes the only unqualified log_debug occurence consistent with other uses in the same file. Other possible ways to fix this: - using `from .utils import log_debug` - moving the line below `from . import utils` line --- daemons/lvmdbusd/manager.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/daemons/lvmdbusd/manager.py b/daemons/lvmdbusd/manager.py index 1ae9c8bb6..d77c7b4e8 100644 --- a/daemons/lvmdbusd/manager.py +++ b/daemons/lvmdbusd/manager.py @@ -6,7 +6,6 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from utils import log_debug from .automatedproperties import AutomatedProperties from . import utils @@ -145,7 +144,7 @@ class Manager(AutomatedProperties): p = cfg.om.get_object_path_by_uuid_lvm_id(key, key) if not p: p = '/' - log_debug('LookUpByLvmId: key = %s, result = %s' % (key, p)) + utils.log_debug('LookUpByLvmId: key = %s, result = %s' % (key, p)) return p @dbus.service.method(