diff options
author | Namhyung Kim <namhyung@gmail.com> | 2014-07-30 11:17:20 +0900 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-02 09:57:02 +0100 |
commit | c29c2370635075949c75937c237602600f4f10dc (patch) | |
tree | 15828699cdb519b58c7daefa1dd496f06a149f1e /lib | |
parent | e304ace6d8f7d0808ee401b7c01146b2798a81b4 (diff) | |
download | bitbake-contrib-c29c2370635075949c75937c237602600f4f10dc.tar.gz |
cooker: Get rid of duplicate 'import re'
The re module was imported at the top, no need to do it again.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/cooker.py | 2 |
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") |