From: Yonghong Zhu Date: Mon, 7 May 2018 05:41:27 +0000 (+0800) Subject: BaseTools: Correct the variable name X-Git-Tag: edk2-stable201903~1734 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=053cd183c9f25929f056239a173e0106b2322d17;ds=sidebyside 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 --- 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