diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
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: | |||
818 | or to find all machine configuration files one could call: | 818 | or to find all machine configuration files one could call: |
819 | findFilesMatchingInDir(self, 'conf/machines', 'conf') | 819 | findFilesMatchingInDir(self, 'conf/machines', 'conf') |
820 | """ | 820 | """ |
821 | import re | ||
822 | 821 | ||
823 | matches = [] | 822 | matches = [] |
824 | p = re.compile(re.escape(filepattern)) | 823 | p = re.compile(re.escape(filepattern)) |
@@ -1228,7 +1227,6 @@ class BBCooker: | |||
1228 | ''' | 1227 | ''' |
1229 | Create a new image with a "require"/"inherit" base_image statement | 1228 | Create a new image with a "require"/"inherit" base_image statement |
1230 | ''' | 1229 | ''' |
1231 | import re | ||
1232 | if timestamp: | 1230 | if timestamp: |
1233 | image_name = os.path.splitext(image)[0] | 1231 | image_name = os.path.splitext(image)[0] |
1234 | timestr = time.strftime("-%Y%m%d-%H%M%S") | 1232 | timestr = time.strftime("-%Y%m%d-%H%M%S") |