summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-08-18 17:45:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-23 10:00:34 -0700
commit17bd3a0c6b222c731e88a8dd5897c589ffb32298 (patch)
tree63204917ebf0e5dd334c0aaac948e82e2ccb4112 /bitbake/lib/bb/ui
parenta17e6c4a2ebb3af6f8c7201b946304fd06602c24 (diff)
downloadpoky-17bd3a0c6b222c731e88a8dd5897c589ffb32298.tar.gz
bb/ui/crumbs/hobeventhandler: fix return values of *_image_output_type
These methods are expected to return lists. (Bitbake rev: 4e101de9034c20dfda0bb851e84f4315335620f6) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui')
-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"])