]> git.proxmox.com Git - mirror_edk2.git/commit
IntelFsp2Pkg/GenCfgOpt.py: remove tailing space from output file
authorChasel, Chiu <chasel.chiu@intel.com>
Wed, 26 Sep 2018 11:50:42 +0000 (19:50 +0800)
committerChasel, Chiu <chasel.chiu@intel.com>
Fri, 28 Sep 2018 03:58:49 +0000 (11:58 +0800)
commitd75c07bc689d33564fb481c275f6fa4e0c62d9ef
tree7e9df6d39fed2610c2f6558ed99a873e43fa4a7c
parent1d7eed4182f34fcd3172c4f62df5c0518ae5190e
IntelFsp2Pkg/GenCfgOpt.py: remove tailing space from output file

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1212

UPD header files generated by GenCfgOpt.py may have
tailing white space from some of the UPD description in DSC,
especially when python script automatically switching lines
for long description string. This patch will always remove
tailing white space for UPD header files.

Test: Verified the patch can remove tailing space in
      output header files when UPD DSC contains intentional
      tailing white space.

Cc: Jiewen Yao <Jiewen.yao@intel.com>
Cc: Gao Liming <liming.gao@intel.com>
Cc: Zhu Yonghong <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
IntelFsp2Pkg/Tools/GenCfgOpt.py