mirror of https://github.com/acidanthera/audk.git
BaseTools: Remove extra .keys()
Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
parent
6fcd911c32
commit
dca689d579
|
@ -316,7 +316,7 @@ class FV (FvClassObject):
|
|||
' %s' %ErasePloarity + \
|
||||
T_CHAR_LF)
|
||||
if not (self.FvAttributeDict is None):
|
||||
for FvAttribute in self.FvAttributeDict:
|
||||
for FvAttribute in self.FvAttributeDict.keys() :
|
||||
if FvAttribute == "FvUsedSizeEnable":
|
||||
if self.FvAttributeDict[FvAttribute].upper() in ('TRUE', '1') :
|
||||
self.UsedSizeEnable = True
|
||||
|
|
Loading…
Reference in New Issue