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 11:51:22 +0100 |
commit | 86a67a1fd4244da9343dbf14deed1ad0d3003f32 (patch) | |
tree | 69612e790755779a0fe7ee00cfbfb8da072d7647 | |
parent | 2e80b5d10a5037ed6f0bc227a1f9b42529c87086 (diff) | |
download | bitbake-86a67a1fd4244da9343dbf14deed1ad0d3003f32.tar.gz |
cooker: tweak CookerCollectFiles::find_bbfiles
since python-2.5 string.endswith() takes a tuple
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index 2c7788ea0..f463603d5 100644 --- a/lib/bb/cooker.py +++ b/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 |