diff options
Diffstat (limited to 'bitbake/lib/bb/cookerdata.py')
-rw-r--r-- | bitbake/lib/bb/cookerdata.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cookerdata.py b/bitbake/lib/bb/cookerdata.py index 630ee27589..0ca87a094e 100644 --- a/bitbake/lib/bb/cookerdata.py +++ b/bitbake/lib/bb/cookerdata.py | |||
@@ -301,15 +301,15 @@ class CookerDataBuilder(object): | |||
301 | 301 | ||
302 | # Nomally we only register event handlers at the end of parsing .bb files | 302 | # Nomally we only register event handlers at the end of parsing .bb files |
303 | # We register any handlers we've found so far here... | 303 | # We register any handlers we've found so far here... |
304 | for var in data.getVar('__BBHANDLERS') or []: | 304 | for var in data.getVar('__BBHANDLERS', False) or []: |
305 | bb.event.register(var, data.getVar(var), (data.getVarFlag(var, "eventmask", True) or "").split()) | 305 | bb.event.register(var, data.getVar(var, False), (data.getVarFlag(var, "eventmask", True) or "").split()) |
306 | 306 | ||
307 | if data.getVar("BB_WORKERCONTEXT", False) is None: | 307 | if data.getVar("BB_WORKERCONTEXT", False) is None: |
308 | bb.fetch.fetcher_init(data) | 308 | bb.fetch.fetcher_init(data) |
309 | bb.codeparser.parser_cache_init(data) | 309 | bb.codeparser.parser_cache_init(data) |
310 | bb.event.fire(bb.event.ConfigParsed(), data) | 310 | bb.event.fire(bb.event.ConfigParsed(), data) |
311 | 311 | ||
312 | if data.getVar("BB_INVALIDCONF") is True: | 312 | if data.getVar("BB_INVALIDCONF", False) is True: |
313 | data.setVar("BB_INVALIDCONF", False) | 313 | data.setVar("BB_INVALIDCONF", False) |
314 | self.parseConfigurationFiles(self.prefiles, self.postfiles) | 314 | self.parseConfigurationFiles(self.prefiles, self.postfiles) |
315 | return | 315 | return |