diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-04-08 10:22:29 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-02 15:41:32 +0100 |
commit | 1c74fd768f8e4f5778411538b906cdcc22fe3f67 (patch) | |
tree | 3d3a5f1021276055f91322afa64a9eee53d3cc9f /bitbake/lib/bb/cache.py | |
parent | 7acc132cac873e60005516272473a55a8160b9c4 (diff) | |
download | openembedded-core-contrib-1c74fd768f8e4f5778411538b906cdcc22fe3f67.tar.gz |
Import fixups
(Bitbake rev: 4fa052f426e3205ebace713eaa22deddc0420e8a)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/cache.py')
-rw-r--r-- | bitbake/lib/bb/cache.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 300acc5fc6..0d165aec2f 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py @@ -28,7 +28,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -import os, re +import os import bb.data import bb.utils @@ -452,14 +452,13 @@ class Cache: Return the data and whether parsing resulted in the file being skipped """ - import bb - from bb import utils, data, parse, debug, event, fatal + from bb import data, parse # expand tmpdir to include this topdir data.setVar('TMPDIR', data.getVar('TMPDIR', config, 1) or "", config) bbfile_loc = os.path.abspath(os.path.dirname(bbfile)) oldpath = os.path.abspath(os.getcwd()) - if bb.parse.cached_mtime_noerror(bbfile_loc): + if parse.cached_mtime_noerror(bbfile_loc): os.chdir(bbfile_loc) bb_data = data.init_db(config) try: |