]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: update error message for SKUID_IDENTIFIER format
authorYonghong Zhu <yonghong.zhu@intel.com>
Sat, 1 Apr 2017 05:57:16 +0000 (13:57 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Thu, 6 Apr 2017 07:27:15 +0000 (15:27 +0800)
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 <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/Common/Misc.py

index 1a5968a221654c725dfc8625931d429d471b98c0..390ef3606fb56b02a0be70712a64e4c7dfe65be8 100644 (file)
@@ -2006,7 +2006,7 @@ class SkuClass():
             except Exception:\r
                 EdkLogger.error("build", PARAMETER_INVALID,\r
                             ExtraData = "SKU-ID [%s] is not supported by the platform. [Valid SKU-ID: %s]"\r
-                                      % (k, " ".join(SkuIds.keys())))\r
+                                      % (k, " ".join(SkuIds.keys())))\r
         if len(self.SkuIdSet) == 2 and 'DEFAULT' in self.SkuIdSet and SkuIdentifier != 'ALL':\r
             self.SkuIdSet.remove('DEFAULT')\r
             self.SkuIdNumberSet.remove('0U')\r
@@ -2016,7 +2016,7 @@ class SkuClass():
             else:\r
                 EdkLogger.error("build", PARAMETER_INVALID,\r
                             ExtraData="SKU-ID [%s] is not supported by the platform. [Valid SKU-ID: %s]"\r
-                                      % (each, " ".join(SkuIds.keys())))\r
+                                      % (each, " ".join(SkuIds.keys())))\r
         \r
     def __SkuUsageType(self): \r
         \r