summaryrefslogtreecommitdiff
path: root/lib
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:06 +0100
commit30a9271ffa2834d9a4ffafe5c03ef9e874460419 (patch)
tree8d505dbfc053fd274f70624671848b0b638af95e /lib
parentec05beff7d1b06e4df98199925c7102f5684f4e0 (diff)
downloadbitbake-30a9271ffa2834d9a4ffafe5c03ef9e874460419.zip
toaster: fix reimporting module
removed second 'import re' from localhostbecontroller.py 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 'lib')
-rw-r--r--lib/toaster/bldcontrol/localhostbecontroller.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/toaster/bldcontrol/localhostbecontroller.py b/lib/toaster/bldcontrol/localhostbecontroller.py
index f1707182..ebb43772 100644
--- a/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -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]