summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index cc7d84ef71..96f05b5309 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1245,7 +1245,8 @@ class BBCooker:
1245 return 1245 return
1246 1246
1247 if self.state in (state.shutdown, state.forceshutdown): 1247 if self.state in (state.shutdown, state.forceshutdown):
1248 self.parser.shutdown(clean=False, force = True) 1248 if hasattr(self.parser, 'shutdown'):
1249 self.parser.shutdown(clean=False, force = True)
1249 raise bb.BBHandledException() 1250 raise bb.BBHandledException()
1250 1251
1251 if self.state != state.parsing: 1252 if self.state != state.parsing: