From 87a46244723ad8ddce2fcf611e569ada86dc80f2 Mon Sep 17 00:00:00 2001 From: Marvin Haeuser Date: Sun, 17 Jun 2018 00:15:35 +0800 Subject: [PATCH] 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 --- BaseTools/Source/Python/Workspace/WorkspaceCommon.py | 3 +++ 1 file changed, 3 insertions(+) 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):