X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2FCommon%2FStringUtils.py;h=723faac0f9f3da827b68e5703b272f9c297d4559;hp=3f6bae3bdc39c740eb43ff7dc5151baded35eba9;hb=f7496d717357b9af78414d19679b073403812340;hpb=39456d00f36e04b7e7efb208f350f4e83b6c3531 diff --git a/BaseTools/Source/Python/Common/StringUtils.py b/BaseTools/Source/Python/Common/StringUtils.py index 3f6bae3bdc..723faac0f9 100644 --- a/BaseTools/Source/Python/Common/StringUtils.py +++ b/BaseTools/Source/Python/Common/StringUtils.py @@ -839,7 +839,7 @@ def StringToArray(String): return "{%s,0x00}" % ",".join(C.strip() for C in String[1:-1].split(',')) else: return "{%s}" % ",".join(C.strip() for C in String[1:-1].split(',')) - + else: if len(String.split()) % 2: return '{%s,0}' % ','.join(String.split())