Update log statement

This commit is contained in:
twangboy 2018-02-21 09:47:20 -07:00 committed by rallytime
parent 7cd81a5cb5
commit 3f4c340e3c
No known key found for this signature in database
GPG Key ID: E8F1A4B90D0DEA19

View File

@ -5067,9 +5067,9 @@ def get(policy_class=None, return_full_policy_names=True,
_pol['Registry']['Path'],
_pol['Registry']['Value'])['vdata']
log.debug(
'Value {0} found for reg policy {1}'.format(
salt.utils.to_unicode(class_vals[policy_name]),
policy_name))
'Value %r found for reg policy %s',
class_vals[policy_name], policy_name
)
elif 'Secedit' in _pol:
# get value from secedit
_ret, _val = _findOptionValueInSeceditFile(_pol['Secedit']['Option'])