summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index 1a4c7b5058..fca4401420 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -310,17 +310,17 @@ class HobHandler(gobject.GObject):
310 def add_image_output_type(self, output_type): 310 def add_image_output_type(self, output_type):
311 if output_type not in self.image_output_types: 311 if output_type not in self.image_output_types:
312 self.image_output_types.append(output_type) 312 self.image_output_types.append(output_type)
313 fstypes = " ".join(self.image_output_types) 313 fstypes = " ".join(self.image_output_types).lstrip(" ")
314 self.set_fstypes(fstypes) 314 self.set_fstypes(fstypes)
315 return fstypes 315 return self.image_output_types
316 316
317 def remove_image_output_type(self, output_type): 317 def remove_image_output_type(self, output_type):
318 if output_type in self.image_output_types: 318 if output_type in self.image_output_types:
319 ind = self.image_output_types.index(output_type) 319 ind = self.image_output_types.index(output_type)
320 self.image_output_types.pop(ind) 320 self.image_output_types.pop(ind)
321 fstypes = " ".join(self.image_output_types) 321 fstypes = " ".join(self.image_output_types).lstrip(" ")
322 self.set_fstypes(fstypes) 322 self.set_fstypes(fstypes)
323 return fstypes 323 return self.image_output_types
324 324
325 def get_image_deploy_dir(self): 325 def get_image_deploy_dir(self):
326 return self.server.runCommand(["getVariable", "DEPLOY_DIR_IMAGE"]) 326 return self.server.runCommand(["getVariable", "DEPLOY_DIR_IMAGE"])