diff options
author | Marian Csontos <mcsontos@redhat.com> | 2017-04-27 18:12:20 +0200 |
---|---|---|
committer | Marian Csontos <mcsontos@redhat.com> | 2017-04-27 18:16:17 +0200 |
commit | 5cf51fb2f74ad43a2555bc391cf069caa1d99775 (patch) | |
tree | 21e63ec401b86cc3e52cba00593b3b3ae483c75e /daemons/lvmdbusd/manager.py | |
parent | 0e3c16af5699c000f1824c42c596fec58d019dfa (diff) | |
download | lvm2-5cf51fb2f74ad43a2555bc391cf069caa1d99775.tar.gz |
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
Diffstat (limited to 'daemons/lvmdbusd/manager.py')
-rw-r--r-- | daemons/lvmdbusd/manager.py | 3 |
1 files changed, 1 insertions, 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 <http://www.gnu.org/licenses/>. -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( |