mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #46584 from twangboy/lgpo-46568
Fix issue LGPO issue
This commit is contained in:
commit
df12135439
@ -3430,7 +3430,7 @@ def _processValueItem(element, reg_key, reg_valuename, policy, parent_element,
|
|||||||
this_element_value = b''.join([this_element_value.encode('utf-16-le'),
|
this_element_value = b''.join([this_element_value.encode('utf-16-le'),
|
||||||
encoded_null])
|
encoded_null])
|
||||||
elif etree.QName(element).localname == 'multiText':
|
elif etree.QName(element).localname == 'multiText':
|
||||||
this_vtype = 'REG_MULTI_SZ'
|
this_vtype = 'REG_MULTI_SZ' if not check_deleted else 'REG_SZ'
|
||||||
if this_element_value is not None:
|
if this_element_value is not None:
|
||||||
this_element_value = '{0}{1}{1}'.format(chr(0).join(this_element_value), chr(0))
|
this_element_value = '{0}{1}{1}'.format(chr(0).join(this_element_value), chr(0))
|
||||||
elif etree.QName(element).localname == 'list':
|
elif etree.QName(element).localname == 'list':
|
||||||
|
Loading…
Reference in New Issue
Block a user