summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/codeparser.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/codeparser.py b/bitbake/lib/bb/codeparser.py
index 5d2d44065a..89d24ab49a 100644
--- a/bitbake/lib/bb/codeparser.py
+++ b/bitbake/lib/bb/codeparser.py
@@ -186,7 +186,8 @@ class BufferedLogger(Logger):
186 186
187 def flush(self): 187 def flush(self):
188 for record in self.buffer: 188 for record in self.buffer:
189 self.target.handle(record) 189 if self.target.isEnabledFor(record.levelno):
190 self.target.handle(record)
190 self.buffer = [] 191 self.buffer = []
191 192
192class PythonParser(): 193class PythonParser():