[edk2-devel] [PATCH] IntelFsp2Pkg/Tools: Fix a typo issue
Chiu, Chasel
chasel.chiu at intel.com
Tue Oct 13 02:47:48 UTC 2020
Reviewed-by: Chasel Chiu <chasel.chiu at intel.com>
> -----Original Message-----
> From: fengyunhua <fengyunhua at byosoft.com.cn>
> Sent: Tuesday, October 13, 2020 10:44 AM
> To: devel at edk2.groups.io
> Cc: Zeng, Star <star.zeng at intel.com>; Desimone, Nathaniel L
> <nathaniel.l.desimone at intel.com>; Chiu, Chasel <chasel.chiu at intel.com>
> Subject: [PATCH] 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 at intel.com>
> Cc: Nate DeSimone <nathaniel.l.desimone at intel.com>
> Cc: Star Zeng <star.zeng at intel.com>
> Signed-off-by: Yunhua Feng <fengyunhua at byosoft.com.cn>
> ---
> IntelFsp2Pkg/Tools/PatchFv.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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
> --
> 2.27.0.windows.1
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#66149): https://edk2.groups.io/g/devel/message/66149
Mute This Topic: https://groups.io/mt/77476116/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list