From d8cf6e956fb1cb948630b8d8970b0c26febb35c6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 10 May 2013 14:54:46 +0000 Subject: [PATCH] bitbake: cooker: Remove pointless repeated import (Bitbake rev: e01914a8eaa97a410cb5fe9480f2d96bb6553342) Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 4 +--- 1 file changed, 1 insertion(+), 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): 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