summaryrefslogtreecommitdiffstats
path: root/IntelFsp2Pkg
diff options
context:
space:
mode:
authorfengyunhua <fengyunhua@byosoft.com.cn>2020-10-13 10:43:42 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-10-19 23:57:57 +0000
commit29d14d3a30fdfbe017d39b759423832054280f10 (patch)
tree547645348c666330376cecf86dad638773dcb9f3 /IntelFsp2Pkg
parent93edd1887e34c3959ce927da1a22e8c54ce18a83 (diff)
downloadedk2-29d14d3a30fdfbe017d39b759423832054280f10.tar.gz
edk2-29d14d3a30fdfbe017d39b759423832054280f10.tar.bz2
edk2-29d14d3a30fdfbe017d39b759423832054280f10.zip
IntelFsp2Pkg/Tools: Fix a typo issue
Error message: raise Exception ("'%s' is not a valid directory!" % FvDir) NameError: name 'FvDir' is not defined FvDir should be fvDir. Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Star Zeng <star.zeng@intel.com> Signed-off-by: Yunhua Feng <fengyunhua@byosoft.com.cn> Reviewed-by: Chasel Chiu <chasel.chiu@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
Diffstat (limited to 'IntelFsp2Pkg')
-rw-r--r--IntelFsp2Pkg/Tools/PatchFv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFsp2Pkg/Tools/PatchFv.py b/IntelFsp2Pkg/Tools/PatchFv.py
index edb30c816b..0c8d908063 100644
--- a/IntelFsp2Pkg/Tools/PatchFv.py
+++ b/IntelFsp2Pkg/Tools/PatchFv.py
@@ -163,7 +163,7 @@ class Symbols:
# If the fvDir is not a directory, then raise an exception
#
if not os.path.isdir(fvDir):
- raise Exception ("'%s' is not a valid directory!" % FvDir)
+ raise Exception ("'%s' is not a valid directory!" % fvDir)
#
# If the Guid.xref is not existing in fvDir, then raise an exception