Reviewed-by: S, Ashraf Ali <[email protected]>

Thanks.,
S, Ashraf Ali

-----Original Message-----
From: Liu, Zhiguang <[email protected]> 
Sent: Monday, March 18, 2024 2:39 PM
To: [email protected]
Cc: Liu, Zhiguang <[email protected]>; Chiu, Chasel 
<[email protected]>; Desimone, Nathaniel L 
<[email protected]>; Duggapu, Chinni B 
<[email protected]>; Zeng, Star <[email protected]>; Kuo, Ted 
<[email protected]>; S, Ashraf Ali <[email protected]>; Mohapatra, Susovan 
<[email protected]>
Subject: [PATCH] IntelFsp2Pkg/Tools: Updated iterator usage for Python 3 
compatibility

Updated iterator usage for Python 3 compatibility
Cc: Chasel Chiu <[email protected]>
Cc: Nate DeSimone <[email protected]>
Cc: Duggapu Chinni B <[email protected]>
Cc: Star Zeng <[email protected]>
Cc: Ted Kuo <[email protected]>
Cc: Ashraf Ali S <[email protected]>
Cc: Susovan Mohapatra <[email protected]>
Signed-off-by: Zhiguang Liu <[email protected]>
---
 IntelFsp2Pkg/Tools/PatchFv.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/IntelFsp2Pkg/Tools/PatchFv.py b/IntelFsp2Pkg/Tools/PatchFv.py 
index 0cab73255d..fd7476d576 100644
--- a/IntelFsp2Pkg/Tools/PatchFv.py
+++ b/IntelFsp2Pkg/Tools/PatchFv.py
@@ -720,7 +720,7 @@ class Symbols:
     def getModGuid(self, var):
         guid = (guid for guid,name in self.dictGuidNameXref.items() if 
name==var)
         try:
-            value = guid.next()
+            value = next(guid)
         except Exception:
             raise Exception("Unknown module name %s !" % var)
         return value
--
2.31.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#117069): https://edk2.groups.io/g/devel/message/117069
Mute This Topic: https://groups.io/mt/104999189/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to