From: Marvin Haeuser Date: Sat, 16 Jun 2018 16:15:35 +0000 (+0800) Subject: BaseTools/WorkspaceCommon: Import used BuildToolError messages. X-Git-Tag: edk2-stable201903~1572 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=87a46244723ad8ddce2fcf611e569ada86dc80f2 BaseTools/WorkspaceCommon: Import used BuildToolError messages. Commit c14b58614ffb992dfc668966a19becb86614aafc added a few build error message display calls to WorkspaceCommon.py without importing the message resources explicitely. This commit adds imports the missing directives. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marvin Haeuser Reviewed-by: Yonghong Zhu --- diff --git a/BaseTools/Source/Python/Workspace/WorkspaceCommon.py b/BaseTools/Source/Python/Workspace/WorkspaceCommon.py index a28fbdf030..713c1ddbdd 100644 --- a/BaseTools/Source/Python/Workspace/WorkspaceCommon.py +++ b/BaseTools/Source/Python/Workspace/WorkspaceCommon.py @@ -16,6 +16,9 @@ from Common.DataType import SUP_MODULE_USER_DEFINED from BuildClassObject import LibraryClassObject import Common.GlobalData as GlobalData from Workspace.BuildClassObject import StructurePcd +from Common.BuildToolError import RESOURCE_NOT_AVAILABLE +from Common.BuildToolError import OPTION_MISSING +from Common.BuildToolError import BUILD_ERROR class OrderedListDict(OrderedDict, defaultdict): def __init__(self, *args, **kwargs):