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