summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Eot/EotMain.py
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/Python/Eot/EotMain.py')
-rw-r--r--BaseTools/Source/Python/Eot/EotMain.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/BaseTools/Source/Python/Eot/EotMain.py b/BaseTools/Source/Python/Eot/EotMain.py
index 3020f6525e..4802aea8b1 100644
--- a/BaseTools/Source/Python/Eot/EotMain.py
+++ b/BaseTools/Source/Python/Eot/EotMain.py
@@ -391,7 +391,7 @@ class FirmwareVolume(Image):
FfsDxeCoreGuid = None
FfsPeiPrioriGuid = None
FfsDxePrioriGuid = None
- for FfsID in self.UnDispatchedFfsDict.keys():
+ for FfsID in list(self.UnDispatchedFfsDict.keys()):
Ffs = self.UnDispatchedFfsDict[FfsID]
if Ffs.Type == 0x03:
FfsSecCoreGuid = FfsID
@@ -497,7 +497,7 @@ class FirmwareVolume(Image):
def DisPatchDxe(self, Db):
IsInstalled = False
ScheduleList = sdict()
- for FfsID in self.UnDispatchedFfsDict.keys():
+ for FfsID in list(self.UnDispatchedFfsDict.keys()):
CouldBeLoaded = False
DepexString = ''
FileDepex = None
@@ -562,7 +562,7 @@ class FirmwareVolume(Image):
def DisPatchPei(self, Db):
IsInstalled = False
- for FfsID in self.UnDispatchedFfsDict.keys():
+ for FfsID in list(self.UnDispatchedFfsDict.keys()):
CouldBeLoaded = True
DepexString = ''
FileDepex = None