From 30a9271ffa2834d9a4ffafe5c03ef9e874460419 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Wed, 23 Sep 2015 15:34:56 -0700 Subject: toaster: fix reimporting module removed second 'import re' from localhostbecontroller.py Signed-off-by: Ed Bartosh Signed-off-by: brian avery Signed-off-by: Richard Purdie --- lib/toaster/bldcontrol/localhostbecontroller.py | 1 - 1 file changed, 1 deletion(-) 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] -- cgit v1.2.3