From a40ceda3b349c4461f4b7bc0e18cd966fff5e3cf Mon Sep 17 00:00:00 2001 From: Cristiana Voicu Date: Tue, 27 Nov 2012 16:41:31 +0200 Subject: [PATCH] hob: when BBLAYERS_NON_REMOVABLE is not set hob shows an error Signed-off-by: Cristiana Voicu Signed-off-by: Richard Purdie --- lib/bb/ui/crumbs/hobeventhandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/ui/crumbs/hobeventhandler.py b/lib/bb/ui/crumbs/hobeventhandler.py index ae1cefc538e..8a2ac5fb6c7 100644 --- a/lib/bb/ui/crumbs/hobeventhandler.py +++ b/lib/bb/ui/crumbs/hobeventhandler.py @@ -435,7 +435,7 @@ class HobHandler(gobject.GObject): params["core_base"] = self.runCommand(["getVariable", "COREBASE"]) or "" hob_layer = params["core_base"] + "/meta-hob" params["layer"] = self.runCommand(["getVariable", "BBLAYERS"]) or "" - params["layers_non_removable"] = self.runCommand(["getVariable", "BBLAYERS_NON_REMOVABLE"]) + params["layers_non_removable"] = self.runCommand(["getVariable", "BBLAYERS_NON_REMOVABLE"]) or "" if hob_layer not in params["layer"].split(): params["layer"] += (" " + hob_layer) if hob_layer not in params["layers_non_removable"].split(): -- 2.47.3