mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 06:32:12 +02:00
bitbake: toaster: fix reimporting module
removed second 'import re' from localhostbecontroller.py (Bitbake rev: 30a9271ffa2834d9a4ffafe5c03ef9e874460419) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
55dc9279c8
commit
552fd83d82
@@ -183,7 +183,6 @@ class LocalhostBEController(BuildEnvironmentController):
|
||||
def getGitCloneDirectory(self, url, branch):
|
||||
""" Utility that returns the last component of a git path as directory
|
||||
"""
|
||||
import re
|
||||
components = re.split(r'[:\.\/]', url)
|
||||
base = components[-2] if components[-1] == "git" else components[-1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user