mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
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
This commit is contained in:
parent
0e3c16af56
commit
5cf51fb2f7
@ -6,7 +6,6 @@
|
|||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
from utils import log_debug
|
|
||||||
from .automatedproperties import AutomatedProperties
|
from .automatedproperties import AutomatedProperties
|
||||||
|
|
||||||
from . import utils
|
from . import utils
|
||||||
@ -145,7 +144,7 @@ class Manager(AutomatedProperties):
|
|||||||
p = cfg.om.get_object_path_by_uuid_lvm_id(key, key)
|
p = cfg.om.get_object_path_by_uuid_lvm_id(key, key)
|
||||||
if not p:
|
if not p:
|
||||||
p = '/'
|
p = '/'
|
||||||
log_debug('LookUpByLvmId: key = %s, result = %s' % (key, p))
|
utils.log_debug('LookUpByLvmId: key = %s, result = %s' % (key, p))
|
||||||
return p
|
return p
|
||||||
|
|
||||||
@dbus.service.method(
|
@dbus.service.method(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user