summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/toasterui.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/toasterui.py')
-rw-r--r--bitbake/lib/bb/ui/toasterui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index 6bf4c1f030..addd5cc2fa 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -163,7 +163,7 @@ def main(server, eventHandler, params):
163 inheritlist, _ = server.runCommand(["getVariable", "INHERIT"]) 163 inheritlist, _ = server.runCommand(["getVariable", "INHERIT"])
164 164
165 if not "buildhistory" in inheritlist.split(" "): 165 if not "buildhistory" in inheritlist.split(" "):
166 logger.warn("buildhistory is not enabled. Please enable INHERIT += \"buildhistory\" to see image details.") 166 logger.warning("buildhistory is not enabled. Please enable INHERIT += \"buildhistory\" to see image details.")
167 build_history_enabled = False 167 build_history_enabled = False
168 168
169 if not params.observe_only: 169 if not params.observe_only:
@@ -433,7 +433,7 @@ def main(server, eventHandler, params):
433 buildinfohelper.store_dependency_information(event) 433 buildinfohelper.store_dependency_information(event)
434 continue 434 continue
435 435
436 logger.warn("Unknown event: %s", event) 436 logger.warning("Unknown event: %s", event)
437 return_value += 1 437 return_value += 1
438 438
439 except EnvironmentError as ioerror: 439 except EnvironmentError as ioerror:
@@ -461,5 +461,5 @@ def main(server, eventHandler, params):
461 if interrupted and return_value == 0: 461 if interrupted and return_value == 0:
462 return_value += 1 462 return_value += 1
463 463
464 logger.warn("Return value is %d", return_value) 464 logger.warning("Return value is %d", return_value)
465 return return_value 465 return return_value