summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Workspace/MetaFileParser.py
diff options
context:
space:
mode:
authorYunhua Feng <yunhuax.feng@intel.com>2018-08-23 18:27:46 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-10-13 09:50:43 +0800
commit4ce4f757d77adc773ff0abc9bd5960e5b1dd9a73 (patch)
tree13c14591e35f7f168bed60e244c71124ba2c2191 /BaseTools/Source/Python/Workspace/MetaFileParser.py
parent5135cc48529a2de1801ad826fb5644dc508285e2 (diff)
downloadedk2-4ce4f757d77adc773ff0abc9bd5960e5b1dd9a73.tar.gz
edk2-4ce4f757d77adc773ff0abc9bd5960e5b1dd9a73.tar.bz2
edk2-4ce4f757d77adc773ff0abc9bd5960e5b1dd9a73.zip
BaseTools: remove the super() function argument
Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileParser.py')
-rw-r--r--BaseTools/Source/Python/Workspace/MetaFileParser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Workspace/MetaFileParser.py b/BaseTools/Source/Python/Workspace/MetaFileParser.py
index a3ff733f7e..9f2a3bcb5a 100644
--- a/BaseTools/Source/Python/Workspace/MetaFileParser.py
+++ b/BaseTools/Source/Python/Workspace/MetaFileParser.py
@@ -139,7 +139,7 @@ class MetaFileParser(object):
if FilePath in Class.MetaFiles:
return Class.MetaFiles[FilePath]
else:
- ParserObject = super(MetaFileParser, Class).__new__(Class)
+ ParserObject = super().__new__(Class)
Class.MetaFiles[FilePath] = ParserObject
return ParserObject