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)
downloadpoky-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 2c7788ea04..f463603d5a 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1435,7 +1435,7 @@ class CookerCollectFiles(object):
1435 for ignored in ('SCCS', 'CVS', '.svn'): 1435 for ignored in ('SCCS', 'CVS', '.svn'):
1436 if ignored in dirs: 1436 if ignored in dirs:
1437 dirs.remove(ignored) 1437 dirs.remove(ignored)
1438 found += [os.path.join(dir, f) for f in files if (f.endswith('.bb') or f.endswith('.bbappend'))] 1438 found += [os.path.join(dir, f) for f in files if (f.endswith(['.bb', '.bbappend']))]
1439 1439
1440 return found 1440 return found
1441 1441