Reviewed-by: Andrew FIsh <[email protected]>

Thanks you for the quick fix.

Andrew Fish

> On May 20, 2016, at 1:42 AM, Liming Gao <[email protected]> wrote:
> 
> GenFds GenSection will search the output file based on the file extension.
> If the output file has no extension, it should be skip.
> 
> Cc: Andrew Fish <[email protected]>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Liming Gao <[email protected]>
> ---
> BaseTools/Source/Python/GenFds/Section.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/BaseTools/Source/Python/GenFds/Section.py 
> b/BaseTools/Source/Python/GenFds/Section.py
> index fc25447..942dd5c 100644
> --- a/BaseTools/Source/Python/GenFds/Section.py
> +++ b/BaseTools/Source/Python/GenFds/Section.py
> @@ -154,7 +154,7 @@ class Section (SectionClassObject):
>                 Tuple = os.walk(FfsInf.EfiOutputPath)
>                 for Dirpath, Dirnames, Filenames in Tuple:
>                     for F in Filenames:
> -                        if os.path.splitext(F)[1] in (Suffix):
> +                        if os.path.splitext(F)[1] == Suffix:
>                             FullName = os.path.join(Dirpath, F)
>                             if os.path.getmtime(FullName) > 
> os.path.getmtime(Makefile):
>                                 FileList.append(FullName)
> -- 
> 2.8.0.windows.1
> 

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to