summaryrefslogtreecommitdiffstats
path: root/BaseTools
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2018-06-25 18:31:28 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-06-27 16:33:22 +0800
commit890d8ede6867dd43d96b5b04454f0b571938e3a3 (patch)
treeccdd0148e2239c57e44c9a69209d304cdf36d3aa /BaseTools
parent87d2afd07c822e6d5ab12bc8dc0f0bfa31bea679 (diff)
downloadedk2-890d8ede6867dd43d96b5b04454f0b571938e3a3.tar.gz
edk2-890d8ede6867dd43d96b5b04454f0b571938e3a3.tar.bz2
edk2-890d8ede6867dd43d96b5b04454f0b571938e3a3.zip
BaseTools: Remove tuple parameter in python scripts
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.zhu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools')
-rw-r--r--BaseTools/Source/Python/Common/VpdInfoFile.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Common/VpdInfoFile.py b/BaseTools/Source/Python/Common/VpdInfoFile.py
index 09b8196faf..435b23f203 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