]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Fix regression issue by b23414f6540d
authorFeng, YunhuaX <yunhuax.feng@intel.com>
Tue, 21 Aug 2018 00:48:38 +0000 (08:48 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Tue, 21 Aug 2018 06:08:24 +0000 (14:08 +0800)
V2: Renaming function DepexExpressionTokenList to  DepexExpressionDict
instead of changing the callers

Fix regression issue by b23414f6540d4f336b6f00b44681911d469f9a04
AttributeError: 'ModuleAutoGen' object has no attribute
'DepexExpressionDict'

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/Python/AutoGen/AutoGen.py

index c5bf60ffb128fc5736927db914cc2eee292c4cdf..7bca6fb426d59da1ddac54621dfe76f17011eee3 100644 (file)
@@ -2897,7 +2897,7 @@ class ModuleAutoGen(AutoGen):
     #   @retval     list    The token list of the dependency expression after parsed\r
     #\r
     @cached_property\r
-    def DepexExpressionTokenList(self):\r
+    def DepexExpressionDict(self):\r
         if self.DxsFile or self.IsLibrary or TAB_DEPENDENCY_EXPRESSION_FILE in self.FileTypes:\r
             return {}\r
 \r