Update log statement

This commit is contained in:
twangboy 2018-02-21 09:47:20 -07:00
parent e9fa53d3b7
commit bcde5cc625
No known key found for this signature in database
GPG key ID: 93FF3BDEB278C9EB

View file

@ -5048,9 +5048,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'])