]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/GenFds/Fv.py
BaseTools: refactor and remove out of date use of .keys()
[mirror_edk2.git] / BaseTools / Source / Python / GenFds / Fv.py
index 14e36b88596601df317844f6d49b3f0d55025bd2..345ad3bdcc90036d53f9af00893e4eac34ca156c 100644 (file)
@@ -318,7 +318,7 @@ class FV (FvClassObject):
                                           ' %s' %ErasePloarity    + \\r
                                           T_CHAR_LF)\r
         if not (self.FvAttributeDict is None):\r
-            for FvAttribute in self.FvAttributeDict.keys() :\r
+            for FvAttribute in self.FvAttributeDict:\r
                 if FvAttribute == "FvUsedSizeEnable":\r
                     if self.FvAttributeDict[FvAttribute].upper() in ('TRUE', '1') :\r
                         self.UsedSizeEnable = True\r