summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/configurator.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/configurator.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/configurator.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/configurator.py b/bitbake/lib/bb/ui/crumbs/configurator.py
index 551179950a..e7c524afce 100644
--- a/bitbake/lib/bb/ui/crumbs/configurator.py
+++ b/bitbake/lib/bb/ui/crumbs/configurator.py
@@ -139,7 +139,9 @@ class Configurator(gobject.GObject):
139 name = self._getLayerName(layerpath) 139 name = self._getLayerName(layerpath)
140 if name not in self.enabled_layers: 140 if name not in self.enabled_layers:
141 self.addLayer(name, layerpath) 141 self.addLayer(name, layerpath)
142 return name, layerpath 142 return name, layerpath
143 else:
144 return None, None
143 145
144 def addLayer(self, name, path): 146 def addLayer(self, name, path):
145 self.enabled_layers[name] = path 147 self.enabled_layers[name] = path