Skip to contentSkip to conversation

Fix find_bbfiles string endswith call

PATCH New Talel BELHAJSALEM 1 participant 1 message Oct 11, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix find_bbfiles string endswith call

---
 bitbake/lib/bb/cooker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/cooker.py +1 -1
index 599c7ddaa2..9a3e32ac1b 100644
@@ -1787,7 +1787,7 @@ class CookerCollectFiles(object):
             for ignored in ('SCCS', 'CVS', '.svn'):
                 if ignored in dirs:
                     dirs.remove(ignored)
-            found += [os.path.join(dir, f) for f in files if (f.endswith(['.bb', '.bbappend']))]
+            found += [os.path.join(dir, f) for f in files if (f.endswith(('.bb', '.bbappend')))]
 
         return found
 
Signature · 1 line
2.25.1