aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2014-07-30 11:17:20 +0900
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-02 09:57:11 +0100
commitf401e8f88cf8bc77e6faac4044c5c60156b8cc35 (patch)
tree9489e04ca4e0f8078cb13796158608d68444b0de /bitbake
parent70d0316d5775b9d2b3b683d81f3177f0cfce0609 (diff)
downloadopenembedded-core-contrib-f401e8f88cf8bc77e6faac4044c5c60156b8cc35.tar.gz
bitbake: cooker: Get rid of duplicate 'import re'
The re module was imported at the top, no need to do it again. (Bitbake rev: c29c2370635075949c75937c237602600f4f10dc) Signed-off-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index ecb3f9b68b..2c7788ea04 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -818,7 +818,6 @@ class BBCooker:
or to find all machine configuration files one could call:
findFilesMatchingInDir(self, 'conf/machines', 'conf')
"""
- import re
matches = []
p = re.compile(re.escape(filepattern))
@@ -1228,7 +1227,6 @@ class BBCooker:
'''
Create a new image with a "require"/"inherit" base_image statement
'''
- import re
if timestamp:
image_name = os.path.splitext(image)[0]
timestr = time.strftime("-%Y%m%d-%H%M%S")