mirror of
https://github.com/utmapp/edk2.git
synced 2026-12-01 14:00:40 -10:00
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2304 The following statement produces a SyntaxWarning with Python 3.8: if str(FdRegion.RegionType) is 'FILE' and self.Platform.VpdToolGuid in \ str(FdRegion.RegionDataList): BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py:168: SyntaxWarning: \ "is" with a literal. Did you mean "=="? Change the 'is' operator by the conventional '==' comparator. Cc: Bob Feng <[email protected]> Cc: Liming Gao <[email protected]> Reviewed-by: Bob Feng <[email protected]> Signed-off-by: Philippe Mathieu-Daude <[email protected]>