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>
This commit is contained in:
Yunhua Feng
2018-08-23 18:27:46 +08:00
committed by Yonghong Zhu
parent 5135cc4852
commit 4ce4f757d7
7 changed files with 14 additions and 14 deletions

View File

@ -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