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:
committed by
Yonghong Zhu
parent
6fcd911c32
commit
dca689d579
@ -316,7 +316,7 @@ class FV (FvClassObject):
|
|||||||
' %s' %ErasePloarity + \
|
' %s' %ErasePloarity + \
|
||||||
T_CHAR_LF)
|
T_CHAR_LF)
|
||||||
if not (self.FvAttributeDict is None):
|
if not (self.FvAttributeDict is None):
|
||||||
for FvAttribute in self.FvAttributeDict:
|
for FvAttribute in self.FvAttributeDict.keys() :
|
||||||
if FvAttribute == "FvUsedSizeEnable":
|
if FvAttribute == "FvUsedSizeEnable":
|
||||||
if self.FvAttributeDict[FvAttribute].upper() in ('TRUE', '1') :
|
if self.FvAttributeDict[FvAttribute].upper() in ('TRUE', '1') :
|
||||||
self.UsedSizeEnable = True
|
self.UsedSizeEnable = True
|
||||||
|
Reference in New Issue
Block a user