summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/localhostbecontroller.py')
-rw-r--r--bitbake/lib/toaster/bldcontrol/localhostbecontroller.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
index ad0a561398..3e16837be1 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -113,7 +113,7 @@ class LocalhostBEController(BuildEnvironmentController):
113 # get the file length; we need to detect the _last_ start of the toaster UI, not the first 113 # get the file length; we need to detect the _last_ start of the toaster UI, not the first
114 toaster_ui_log_filelength = 0 114 toaster_ui_log_filelength = 0
115 if os.path.exists(toaster_ui_log_filepath): 115 if os.path.exists(toaster_ui_log_filepath):
116 with open(toaster_ui_log_filepath, "r") as f: 116 with open(toaster_ui_log_filepath, "w") as f:
117 f.seek(0, 2) # jump to the end 117 f.seek(0, 2) # jump to the end
118 toaster_ui_log_filelength = f.tell() 118 toaster_ui_log_filelength = f.tell()
119 119