]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Scripts/PatchCheck.py
BaseTools/PatchCheck.py: Update to handle the two [] as prefix
authorYonghong Zhu <yonghong.zhu@intel.com>
Mon, 17 Oct 2016 03:12:04 +0000 (11:12 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Thu, 20 Oct 2016 23:25:22 +0000 (07:25 +0800)
commite709bbb1ce386c7ac4240fae929cacfcc2bfa5a9
treed084e8f32f084e69dcb0f5b28f5214eea4e50bf8
parente61406708c83f96d3dc2e8899716cce43c058491
BaseTools/PatchCheck.py: Update to handle the two [] as prefix

The bug is that only remove the first [] when it does the char count,
however sometimes we use [edk2][patch] as prefix, this patch fix this bug.

Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=113
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
BaseTools/Scripts/PatchCheck.py