summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-08-22 13:45:11 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-23 23:02:00 +0100
commit21f41f6c43e88b80477ecbe67163ad9836e6def7 (patch)
tree6edf1ad0198d4a5153488876e3f524975043093f /bitbake
parentcf385a55873b0ef0935911dfa224694e08b4f559 (diff)
downloadast2050-yocto-poky-21f41f6c43e88b80477ecbe67163ad9836e6def7.zip
ast2050-yocto-poky-21f41f6c43e88b80477ecbe67163ad9836e6def7.tar.gz
bitbake: cooker: tweak CookerCollectFiles::find_bbfiles
since python-2.5 string.endswith() takes a tuple (Bitbake rev: 86a67a1fd4244da9343dbf14deed1ad0d3003f32) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 2c7788e..f463603 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1435,7 +1435,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') or f.endswith('.bbappend'))]
+ found += [os.path.join(dir, f) for f in files if (f.endswith(['.bb', '.bbappend']))]
return found
OpenPOWER on IntegriCloud