summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]