summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/cooker.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index ecb3f9b68..2c7788ea0 100644
--- a/lib/bb/cooker.py
+++ b/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")