cooker: Remove pointless repeated import
PATCH 1/1 cooker: Remove pointless repeated import
Signed-off-by Richard Purdie <[email protected]>
---
bitbake/lib/bb/cooker.py +1 -3
@@ -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