summaryrefslogtreecommitdiffstats
path: root/bitbake
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:39:44 +0100
commit7fc9c3488f7865111ec052d1cab213d216d2b414 (patch)
tree5f73c17a3dcab5107d096e1d63d83ffb3ec23d87 /bitbake
parentc4b4e474b62025604f9ef9f21e13d29e8e38db97 (diff)
downloadpoky-7fc9c3488f7865111ec052d1cab213d216d2b414.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. (Bitbake rev: 0f45fcab5c724aabb5b2933dfcdf88ebe256cba9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/bin/bitbake-layers3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers
index bdfa4b6a1f..1c48c8c92d 100755
--- a/bitbake/bin/bitbake-layers
+++ b/bitbake/bin/bitbake-layers
@@ -211,7 +211,8 @@ class Config(object):
211 self.pkgs_to_build = [] 211 self.pkgs_to_build = []
212 self.debug_domains = [] 212 self.debug_domains = []
213 self.extra_assume_provided = [] 213 self.extra_assume_provided = []
214 self.file = [] 214 self.prefile = []
215 self.postfile = []
215 self.debug = 0 216 self.debug = 0
216 self.__dict__.update(options) 217 self.__dict__.update(options)
217 218