aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-07-05 14:25:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-05 14:28:54 +0100
commit0f45fcab5c724aabb5b2933dfcdf88ebe256cba9 (patch)
tree740e4b737bc9e8cff28f379df6aacd9dde118c28 /bin
parent9c2a064ab7fd9b8bcca58dfeb1abfae2555f0088 (diff)
downloadbitbake-0f45fcab5c724aabb5b2933dfcdf88ebe256cba9.tar.gz
bitbake-layers: fix error on startup caused by recent cooker change
Fix bitbake-layers "TypeError: 'NoneType' object is not iterable" error on startup. Commit f3be8e9a7df13cc11ffc8fc667efaf2db96a7c38 changed to expect prefile and postfile to be populated and no longer expects file. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bitbake-layers3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/bitbake-layers b/bin/bitbake-layers
index bdfa4b6a1..1c48c8c92 100755
--- a/bin/bitbake-layers
+++ b/bin/bitbake-layers
@@ -211,7 +211,8 @@ class Config(object):
self.pkgs_to_build = []
self.debug_domains = []
self.extra_assume_provided = []
- self.file = []
+ self.prefile = []
+ self.postfile = []
self.debug = 0
self.__dict__.update(options)