diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-10 14:54:46 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-12 08:23:05 +0100 |
commit | e01914a8eaa97a410cb5fe9480f2d96bb6553342 (patch) | |
tree | 8e306f636506f4f53fbe0ff62c41d6a3b93c7b7d /lib/bb/cooker.py | |
parent | d7047ceaf29b870ade3257e263e010f65aa8bc6e (diff) | |
download | bitbake-e01914a8eaa97a410cb5fe9480f2d96bb6553342.tar.gz |
cooker: Remove pointless repeated import
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cooker.py')
-rw-r--r-- | lib/bb/cooker.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index 85761e07c..cd3b6e3e9 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -1431,14 +1431,12 @@ class CookerCollectFiles(object): def find_bbfiles(self, path): """Find all the .bb and .bbappend files in a directory""" - from os.path import join - found = [] for dir, dirs, files in os.walk(path): for ignored in ('SCCS', 'CVS', '.svn'): if ignored in dirs: dirs.remove(ignored) - found += [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') or f.endswith('.bbappend'))] return found |