summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-09-23 15:34:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-29 14:11:39 +0100
commit552fd83d828b9e695ebaa1f64c9c8cf51c256645 (patch)
treed4389a131fc7b3b37d7bb704f8915f44bb5b3f0a /bitbake/lib/toaster/bldcontrol
parent55dc9279c8707a095f058c0e952ef104ee2cbb1d (diff)
downloadpoky-552fd83d828b9e695ebaa1f64c9c8cf51c256645.tar.gz
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>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol')
-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