summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/bldcontrol/localhostbecontroller.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
index f1707182a3..ebb4377224 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -183,7 +183,6 @@ class LocalhostBEController(BuildEnvironmentController):
183 def getGitCloneDirectory(self, url, branch): 183 def getGitCloneDirectory(self, url, branch):
184 """ Utility that returns the last component of a git path as directory 184 """ Utility that returns the last component of a git path as directory
185 """ 185 """
186 import re
187 components = re.split(r'[:\.\/]', url) 186 components = re.split(r'[:\.\/]', url)
188 base = components[-2] if components[-1] == "git" else components[-1] 187 base = components[-2] if components[-1] == "git" else components[-1]
189 188