diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2015-08-12 01:27:31 +0000 |
---|---|---|
committer | shenshushi <shenshushi@Edk2> | 2015-08-12 01:27:31 +0000 |
commit | 9979bab783aaffb52bf1266e1f852891401686a4 (patch) | |
tree | c1e24800c663b99c8b48bcbbb7caaf02dff89507 /ArmPkg | |
parent | bc0f20c11a82e484cd160d5c4ddf1644653ffe2c (diff) | |
download | edk2-platforms-9979bab783aaffb52bf1266e1f852891401686a4.tar.xz |
BaseTools/GenFds: Fix 'NoneType' object is not iterable error.
When adding section VERSION in FDF file, for example:
FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
SECTION RAW = MdeModulePkg/Logo/Logo.bmp
SECTION UI = "Logo"
SECTION VERSION = "0001"
}
GenFds will report the following error:
Traceback (most recent call last):
File "GenFds.py", line 276, in main
File "GenFds.py", line 391, in GenFd
File "Fd.py", line 93, in GenFd
File "Region.py", line 106, in AddToBuffer
File "Fv.py", line 114, in AddToBuffer
File "FfsFileStatement.py", line 117, in GenFfs
File "VerSection.py", line 80, in GenSection
File "GenFdsGlobalVariable.py", line 401, in GenerateSection
TypeError: 'NoneType' object is not iterable.
We found in GenFdsGlobalVariable.py line 401 'list' requires a iteralbe object as parameter while the 'Input' is None.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18205 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg')
0 files changed, 0 insertions, 0 deletions