diff options
author | Feng, YunhuaX </o=Intel/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Feng, YunhuaX4e1> | 2018-03-01 10:16:07 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-03-02 10:05:03 +0800 |
commit | 4faf13222edead307109bf8c747200ea3fb617c0 (patch) | |
tree | f2e42e6c2961f9d744f1c0a62952485ff3b155cf /BaseTools/Source/Python/Common/String.py | |
parent | 3db2823f1e270b191de701e5514968423b305530 (diff) | |
download | edk2-4faf13222edead307109bf8c747200ea3fb617c0.tar.gz edk2-4faf13222edead307109bf8c747200ea3fb617c0.tar.bz2 edk2-4faf13222edead307109bf8c747200ea3fb617c0.zip |
BaseTools: Fix eval parse string issue
eval argument start with " or ', but it is unicode string,
will encounter error:
List = list(eval(Value)) # translate escape character
File "<string>", line 1
'j??=????????F??
^
SyntaxError: EOL while scanning string literal
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/String.py')
0 files changed, 0 insertions, 0 deletions