summaryrefslogtreecommitdiff
path: root/BaseTools
diff options
context:
space:
mode:
authorYonghong Zhu <yonghong.zhu@intel.com>2018-05-07 13:41:27 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-05-07 16:32:02 +0800
commit053cd183c9f25929f056239a173e0106b2322d17 (patch)
treefe3d6adce3a8f2a36813be0009f02187da9ae056 /BaseTools
parent5d9af6a55ae1fcd1bbd19b5c55f039e9556d5cec (diff)
downloadedk2-053cd183c9f25929f056239a173e0106b2322d17.zip
edk2-053cd183c9f25929f056239a173e0106b2322d17.tar.gz
edk2-053cd183c9f25929f056239a173e0106b2322d17.tar.bz2
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 <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools')
-rw-r--r--BaseTools/Source/Python/GenFds/FdfParser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/GenFds/FdfParser.py b/BaseTools/Source/Python/GenFds/FdfParser.py
index 223b453..8a9296c 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