X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2FGenFds%2FSection.py;h=942dd5cd3a9f0535d9e03431b7631e46dbc3a29b;hb=483b01d2da22bab88f0815a2f01025ea6b9333f5;hp=fc25447dfdcd57b857930dbbadef6e44e9c5014a;hpb=23cc8adbaf86fcc6d0a81f766f8abde2c4f8ff07;p=mirror_edk2.git diff --git a/BaseTools/Source/Python/GenFds/Section.py b/BaseTools/Source/Python/GenFds/Section.py index fc25447dfd..942dd5cd3a 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)