summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Workspace/MetaFileParser.py
diff options
context:
space:
mode:
authorYonghong Zhu <yonghong.zhu@intel.com>2018-01-22 13:46:52 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-01-23 16:24:10 +0800
commit767ddbe87416afe001d4176f5d73e74f5f10f16b (patch)
tree235b78dce03d4388bfde98052ae97d2941da3225 /BaseTools/Source/Python/Workspace/MetaFileParser.py
parente6b10112b3ee661595f81aec7e1948bb4e8e0153 (diff)
downloadedk2-767ddbe87416afe001d4176f5d73e74f5f10f16b.tar.gz
edk2-767ddbe87416afe001d4176f5d73e74f5f10f16b.tar.bz2
edk2-767ddbe87416afe001d4176f5d73e74f5f10f16b.zip
BaseTools: Add DefaultStore section format Check
This patch add DefaultStore section format Check and it use same logic with SKUID section. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileParser.py')
-rw-r--r--BaseTools/Source/Python/Workspace/MetaFileParser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Workspace/MetaFileParser.py b/BaseTools/Source/Python/Workspace/MetaFileParser.py
index 5ea14f8f10..d704809354 100644
--- a/BaseTools/Source/Python/Workspace/MetaFileParser.py
+++ b/BaseTools/Source/Python/Workspace/MetaFileParser.py
@@ -1105,7 +1105,7 @@ class DscParser(MetaFileParser):
def _DefaultStoresParser(self):
TokenList = GetSplitValueList(self._CurrentLine, TAB_VALUE_SPLIT)
if len(TokenList) != 2:
- EdkLogger.error('Parser', FORMAT_INVALID, "Correct format is '<Integer>|<UiName>'",
+ EdkLogger.error('Parser', FORMAT_INVALID, "Correct format is '<Number>|<UiName>'",
ExtraData=self._CurrentLine, File=self.MetaFile, Line=self._LineIndex + 1)
self._ValueList[0:len(TokenList)] = TokenList