]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: remove redundant check
authorCarsey, Jaben </o=Intel/ou=Americas01/cn=Workers/cn=Carsey, Jaben>
Tue, 3 Apr 2018 22:34:06 +0000 (06:34 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Sun, 8 Apr 2018 07:34:12 +0000 (15:34 +0800)
commitbfc8f5667a68071e7f12a9ba2a0cf076b1285107
tree8aa0629ffd105d2dac4d7feb0107b1cfbb0ac145
parent1f26f5fdb96b4a0010c4388273fc42d551170dd6
BaseTools: remove redundant check

The RegEx matches begining and end of the string, dont then check length.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/Python/AutoGen/IdfClassObject.py
BaseTools/Source/Python/AutoGen/UniClassObject.py