From 6035094da8b68c0d66cce327309efee551caa5dc Mon Sep 17 00:00:00 2001 From: Yonghong Zhu Date: Sat, 1 Apr 2017 13:57:16 +0800 Subject: [PATCH] BaseTools: update error message for SKUID_IDENTIFIER format Per DSC spec, the SkuUiName use '|' as separator, so this patch update the error message to use '|' but not space as separator. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yonghong Zhu Reviewed-by: Liming Gao --- BaseTools/Source/Python/Common/Misc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaseTools/Source/Python/Common/Misc.py b/BaseTools/Source/Python/Common/Misc.py index 1a5968a221..390ef3606f 100644 --- a/BaseTools/Source/Python/Common/Misc.py +++ b/BaseTools/Source/Python/Common/Misc.py @@ -2006,7 +2006,7 @@ class SkuClass(): except Exception: EdkLogger.error("build", PARAMETER_INVALID, ExtraData = "SKU-ID [%s] is not supported by the platform. [Valid SKU-ID: %s]" - % (k, " ".join(SkuIds.keys()))) + % (k, " | ".join(SkuIds.keys()))) if len(self.SkuIdSet) == 2 and 'DEFAULT' in self.SkuIdSet and SkuIdentifier != 'ALL': self.SkuIdSet.remove('DEFAULT') self.SkuIdNumberSet.remove('0U') @@ -2016,7 +2016,7 @@ class SkuClass(): else: EdkLogger.error("build", PARAMETER_INVALID, ExtraData="SKU-ID [%s] is not supported by the platform. [Valid SKU-ID: %s]" - % (each, " ".join(SkuIds.keys()))) + % (each, " | ".join(SkuIds.keys()))) def __SkuUsageType(self): -- 2.39.2