From 4ce4f757d77adc773ff0abc9bd5960e5b1dd9a73 Mon Sep 17 00:00:00 2001 From: Yunhua Feng Date: Thu, 23 Aug 2018 18:27:46 +0800 Subject: BaseTools: remove the super() function argument Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yunhua Feng Reviewed-by: Liming Gao --- BaseTools/Source/Python/Workspace/MetaFileParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BaseTools/Source/Python/Workspace/MetaFileParser.py') 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 -- cgit v1.2.3