From: Ed Bartosh Date: Wed, 23 Sep 2015 22:34:56 +0000 (-0700) Subject: toaster: fix reimporting module X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=30a9271ffa2834d9a4ffafe5c03ef9e874460419;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/lib/toaster/bldcontrol/localhostbecontroller.py b/lib/toaster/bldcontrol/localhostbecontroller.py index f1707182a37..ebb4377224b 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]