From 29d14d3a30fdfbe017d39b759423832054280f10 Mon Sep 17 00:00:00 2001 From: fengyunhua Date: Tue, 13 Oct 2020 10:43:42 +0800 Subject: 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 Cc: Nate DeSimone Cc: Star Zeng Signed-off-by: Yunhua Feng Reviewed-by: Chasel Chiu Reviewed-by: Nate DeSimone --- IntelFsp2Pkg/Tools/PatchFv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IntelFsp2Pkg') 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 -- cgit v1.2.3