summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-10 14:54:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-12 08:26:14 +0100
commitd8cf6e956fb1cb948630b8d8970b0c26febb35c6 (patch)
tree4ac6de5429de5f49b4bc0bfacb56c00a304ced4f /bitbake/lib/bb/cooker.py
parent06aaf0d0c9cfba29d05d6b2ff19ce4dc477c4795 (diff)
downloadpoky-d8cf6e956fb1cb948630b8d8970b0c26febb35c6.tar.gz
bitbake: cooker: Remove pointless repeated import
(Bitbake rev: e01914a8eaa97a410cb5fe9480f2d96bb6553342) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 85761e07c4..cd3b6e3e9a 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1431,14 +1431,12 @@ class CookerCollectFiles(object):
1431 1431
1432 def find_bbfiles(self, path): 1432 def find_bbfiles(self, path):
1433 """Find all the .bb and .bbappend files in a directory""" 1433 """Find all the .bb and .bbappend files in a directory"""
1434 from os.path import join
1435
1436 found = [] 1434 found = []
1437 for dir, dirs, files in os.walk(path): 1435 for dir, dirs, files in os.walk(path):
1438 for ignored in ('SCCS', 'CVS', '.svn'): 1436 for ignored in ('SCCS', 'CVS', '.svn'):
1439 if ignored in dirs: 1437 if ignored in dirs:
1440 dirs.remove(ignored) 1438 dirs.remove(ignored)
1441 found += [join(dir, f) for f in files if (f.endswith('.bb') or f.endswith('.bbappend'))] 1439 found += [os.path.join(dir, f) for f in files if (f.endswith('.bb') or f.endswith('.bbappend'))]
1442 1440
1443 return found 1441 return found
1444 1442