mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
Initial debugging improved
This commit is contained in:
parent
24bce0f38b
commit
d608864f8a
@ -20,6 +20,7 @@ import logging
|
||||
import logging.handlers
|
||||
from enum import IntEnum
|
||||
|
||||
from messages import message_with_code
|
||||
from .logging import slogm
|
||||
|
||||
|
||||
@ -71,7 +72,8 @@ def process_target(target_name=None):
|
||||
if target_name == 'User':
|
||||
target = 'User'
|
||||
|
||||
logging.debug(slogm('Target is: {}'.format(target)))
|
||||
logdata = dict({'target': target})
|
||||
logging.debug(slogm(message_with_code('I3'), logdata))
|
||||
|
||||
return target
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user