summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/GenFds/Fv.py
diff options
context:
space:
mode:
authorCarsey, Jaben <jaben.carsey@intel.com>2018-04-20 23:51:30 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-04-26 14:43:25 +0800
commitdca689d579ac0eaa6f87d62eabe8d8239b2113d8 (patch)
tree3ab0f5d167bdc67226b1bbbe55394d9b97d12961 /BaseTools/Source/Python/GenFds/Fv.py
parent6fcd911c328648497960119569fa0849d52fbcfc (diff)
downloadedk2-dca689d579ac0eaa6f87d62eabe8d8239b2113d8.tar.gz
edk2-dca689d579ac0eaa6f87d62eabe8d8239b2113d8.tar.bz2
edk2-dca689d579ac0eaa6f87d62eabe8d8239b2113d8.zip
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>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/Fv.py')
-rw-r--r--BaseTools/Source/Python/GenFds/Fv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/GenFds/Fv.py b/BaseTools/Source/Python/GenFds/Fv.py
index ef5896d76b..0fb2bd456a 100644
--- a/BaseTools/Source/Python/GenFds/Fv.py
+++ b/BaseTools/Source/Python/GenFds/Fv.py
@@ -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