diff options
author | fengyunhua <fengyunhua@byosoft.com.cn> | 2020-10-13 10:43:42 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-10-19 23:57:57 +0000 |
commit | 29d14d3a30fdfbe017d39b759423832054280f10 (patch) | |
tree | 547645348c666330376cecf86dad638773dcb9f3 | |
parent | 93edd1887e34c3959ce927da1a22e8c54ce18a83 (diff) | |
download | edk2-29d14d3a30fdfbe017d39b759423832054280f10.zip edk2-29d14d3a30fdfbe017d39b759423832054280f10.tar.gz edk2-29d14d3a30fdfbe017d39b759423832054280f10.tar.bz2 |
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>
-rw-r--r-- | IntelFsp2Pkg/Tools/PatchFv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFsp2Pkg/Tools/PatchFv.py b/IntelFsp2Pkg/Tools/PatchFv.py index edb30c8..0c8d908 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
|