From 053cd183c9f25929f056239a173e0106b2322d17 Mon Sep 17 00:00:00 2001 From: Yonghong Zhu Date: Mon, 7 May 2018 13:41:27 +0800 Subject: [PATCH] BaseTools: Correct the variable name the commit bff74750 introduce a undefined variable name 'scope' cause build failure, it should use 'Scope'. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu Reviewed-by: Liming Gao --- BaseTools/Source/Python/GenFds/FdfParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Source/Python/GenFds/FdfParser.py b/BaseTools/Source/Python/GenFds/FdfParser.py index 223b453e7e..8a9296c49d 100644 --- a/BaseTools/Source/Python/GenFds/FdfParser.py +++ b/BaseTools/Source/Python/GenFds/FdfParser.py @@ -1135,7 +1135,7 @@ class FdfParser: @staticmethod def __Verify(Name, Value, Scope): # value verification only applies to numeric values. - if scope not in TAB_PCD_NUMERIC_TYPES: + if Scope not in TAB_PCD_NUMERIC_TYPES: return ValueNumber = 0