BaseTools/WorkspaceCommon: Import used BuildToolError messages.

Commit c14b58614f 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 <Marvin.Haeuser@outlook.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
Marvin Haeuser 2018-06-17 00:15:35 +08:00 committed by Yonghong Zhu
parent 02ec23abeb
commit 87a4624472
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,9 @@ from Common.DataType import SUP_MODULE_USER_DEFINED
from BuildClassObject import LibraryClassObject from BuildClassObject import LibraryClassObject
import Common.GlobalData as GlobalData import Common.GlobalData as GlobalData
from Workspace.BuildClassObject import StructurePcd 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): class OrderedListDict(OrderedDict, defaultdict):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):