According to PEP3113, tuple parameter is removed in python 3. (PEP3113: https://www.python.org/dev/peps/pep-3113/)
Contributed-under: TianoCore Contribution Agreement 1.1 Cc: Yonghong Zhu <yonghong....@intel.com> Cc: Liming Gao <liming....@intel.com> Signed-off-by: Gary Lin <g...@suse.com> --- BaseTools/Source/Python/Common/VpdInfoFile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BaseTools/Source/Python/Common/VpdInfoFile.py b/BaseTools/Source/Python/Common/VpdInfoFile.py index 09b8196faf07..435b23f203a0 100644 --- a/BaseTools/Source/Python/Common/VpdInfoFile.py +++ b/BaseTools/Source/Python/Common/VpdInfoFile.py @@ -218,7 +218,8 @@ class VpdInfoFile: return None return self._VpdArray[vpd] - def GetVpdInfo(self,(PcdTokenName,TokenSpaceName)): + def GetVpdInfo(self, arg): + (PcdTokenName, TokenSpaceName) = arg return self._VpdInfo.get((TokenSpaceName, PcdTokenName)) ## Call external BPDG tool to process VPD file -- 2.17.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel