History log of /device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/VerSection.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
47fea6afd74af76c7e2a2b03d319b7ac035ac26a 01-Dec-2015 Yonghong Zhu <yonghong.zhu@intel.com> BaseTools: Clean some coding style issues

This patch clean some coding style issues, majorly for space character.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19080 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/VerSection.py
9979bab783aaffb52bf1266e1f852891401686a4 12-Aug-2015 Qiu Shumin <shumin.qiu@intel.com> 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
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/VerSection.py
1be2ed90a20618d71ddf34b8a07d038da0b36854 15-Aug-2014 Hess Chen <hesheng.chen@intel.com> There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hess Chen <hesheng.chen@intel.com>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15809 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/VerSection.py
4afd3d042215afe68d00b9ab8c32f063a3a1c03f 23-Aug-2013 Liming Gao <liming.gao@intel.com> Sync BaseTool trunk (version r2599) into EDKII BaseTools.

Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Heshen Chen <chen.heshen@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14591 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/VerSection.py
40d841f6a8f84e75409178e19e69b95e01bada0f 18-May-2010 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> Sync EDKII BaseTools to BaseTools project r1971

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10502 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/VerSection.py
30fdf1140b8d1ce93f3821d986fa165552023440 17-Jul-2009 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> Check In tool source code based on Build tool project revision r1655.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8964 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/VerSection.py