diff options
author | Feng, YunhuaX <yunhuax.feng@intel.com> | 2018-08-21 08:48:38 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-08-21 14:08:24 +0800 |
commit | 6cf6fed02408b5f3ba39de46cbc971b9dda3639b (patch) | |
tree | 4ec3b0096a9b31f6a23307b53e284eaba4c5447d /BaseTools/Source/Python | |
parent | 131818ba5a83d1e8f3f1b4c041200755fff64abb (diff) | |
download | edk2-6cf6fed02408b5f3ba39de46cbc971b9dda3639b.tar.gz edk2-6cf6fed02408b5f3ba39de46cbc971b9dda3639b.tar.bz2 edk2-6cf6fed02408b5f3ba39de46cbc971b9dda3639b.zip |
BaseTools: Fix regression issue by b23414f6540d
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>
Diffstat (limited to 'BaseTools/Source/Python')
-rw-r--r-- | BaseTools/Source/Python/AutoGen/AutoGen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/AutoGen/AutoGen.py b/BaseTools/Source/Python/AutoGen/AutoGen.py index c5bf60ffb1..7bca6fb426 100644 --- a/BaseTools/Source/Python/AutoGen/AutoGen.py +++ b/BaseTools/Source/Python/AutoGen/AutoGen.py @@ -2897,7 +2897,7 @@ class ModuleAutoGen(AutoGen): # @retval list The token list of the dependency expression after parsed
#
@cached_property
- def DepexExpressionTokenList(self):
+ def DepexExpressionDict(self):
if self.DxsFile or self.IsLibrary or TAB_DEPENDENCY_EXPRESSION_FILE in self.FileTypes:
return {}
|