]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools:Add import in FvImageSection
authorFan, ZhijuX <zhijux.fan@intel.com>
Thu, 20 Jun 2019 06:07:39 +0000 (14:07 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Mon, 24 Jun 2019 09:02:53 +0000 (17:02 +0800)
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1872

Since MultipleWorkspace is not imported in FvImageSection,
an error of "global name 'MWS' is not defined" appeared.

This patch is going to fix that issue.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/GenFds/FvImageSection.py

index 2d38ff60969d020a92d556a152733a8d61b91c6f..b2953d822bba6415424ae2f9847943a16b237339 100644 (file)
@@ -17,6 +17,7 @@ import subprocess
 from .GenFdsGlobalVariable import GenFdsGlobalVariable\r
 import Common.LongFilePathOs as os\r
 from CommonDataClass.FdfClass import FvImageSectionClassObject\r
+from Common.MultipleWorkspace import MultipleWorkspace as mws\r
 from Common import EdkLogger\r
 from Common.BuildToolError import *\r
 from Common.DataType import *\r