diff options
author | Carsey, Jaben </o=Intel/ou=Americas01/cn=Workers/cn=Carsey, Jaben> | 2018-03-17 07:27:41 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-03-29 16:18:29 +0800 |
commit | b1a9e404d4e91729b99d690fa849451269dd3a47 (patch) | |
tree | 458554d97d077c8565de6e04a751314cc8bb42e8 /BaseTools/Source/Python/GenFds/FdfParser.py | |
parent | 709c9fd56b2a3303e679858a4927e382f255d8e4 (diff) | |
download | edk2-b1a9e404d4e91729b99d690fa849451269dd3a47.tar.gz edk2-b1a9e404d4e91729b99d690fa849451269dd3a47.tar.bz2 edk2-b1a9e404d4e91729b99d690fa849451269dd3a47.zip |
BaseTools: use new shared GUID regular expressions
remove local variables that are GUID matching and replace with shared
expression.
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@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>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/FdfParser.py')
-rw-r--r-- | BaseTools/Source/Python/GenFds/FdfParser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/GenFds/FdfParser.py b/BaseTools/Source/Python/GenFds/FdfParser.py index 08429cd72a..9903e9570c 100644 --- a/BaseTools/Source/Python/GenFds/FdfParser.py +++ b/BaseTools/Source/Python/GenFds/FdfParser.py @@ -1136,7 +1136,7 @@ class FdfParser: if not self.__GetNextToken():
return False
- if RangeExpression.RegGuidPattern.match(self.__Token) != None:
+ if gGuidPattern.match(self.__Token) != None:
return True
else:
self.__UndoToken()
|