diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-08-22 13:45:11 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-23 23:02:00 +0100 |
commit | 21f41f6c43e88b80477ecbe67163ad9836e6def7 (patch) | |
tree | 6edf1ad0198d4a5153488876e3f524975043093f /bitbake | |
parent | cf385a55873b0ef0935911dfa224694e08b4f559 (diff) | |
download | 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.py | 2 |
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 | ||