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/Common/Expression.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'BaseTools/Source/Python/Common/Expression.py') diff --git a/BaseTools/Source/Python/Common/Expression.py b/BaseTools/Source/Python/Common/Expression.py index 6219675d2c..9a98236a8c 100644 --- a/BaseTools/Source/Python/Common/Expression.py +++ b/BaseTools/Source/Python/Common/Expression.py @@ -204,7 +204,7 @@ SupportedInMacroList = ['TARGET', 'TOOL_CHAIN_TAG', 'ARCH', 'FAMILY'] class BaseExpression(object): def __init__(self, *args, **kwargs): - super(BaseExpression, self).__init__() + super().__init__() # Check if current token matches the operators given from parameter def _IsOperator(self, OpSet): @@ -324,7 +324,7 @@ class ValueExpression(BaseExpression): return Val def __init__(self, Expression, SymbolTable={}): - super(ValueExpression, self).__init__(self, Expression, SymbolTable) + super().__init__(self, Expression, SymbolTable) self._NoProcess = False if not isinstance(Expression, type('')): self._Expr = Expression -- cgit v1.2.3