diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-04-10 22:05:02 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-02 15:41:33 +0100 |
commit | bcd9c57a96c04c27883746feb0e75211f8de6d32 (patch) | |
tree | e393bbf7e0336f1098cc9228fd61aee2b3febd88 /bitbake/lib/bb/persist_data.py | |
parent | c770c62fdcf35e76ed03361de901964bbe68433a (diff) | |
download | poky-bcd9c57a96c04c27883746feb0e75211f8de6d32.tar.gz |
Switch some references to moved functions
(Bitbake rev: ddea2978cb969cf1381cfee5c055de0c9e56a4e3)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/persist_data.py')
-rw-r--r-- | bitbake/lib/bb/persist_data.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/persist_data.py b/bitbake/lib/bb/persist_data.py index e2bbbe54f7..a26244510a 100644 --- a/bitbake/lib/bb/persist_data.py +++ b/bitbake/lib/bb/persist_data.py | |||
@@ -16,6 +16,7 @@ | |||
16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
17 | 17 | ||
18 | import bb, os | 18 | import bb, os |
19 | import bb.utils | ||
19 | 20 | ||
20 | try: | 21 | try: |
21 | import sqlite3 | 22 | import sqlite3 |
@@ -49,7 +50,7 @@ class PersistData: | |||
49 | try: | 50 | try: |
50 | os.stat(self.cachedir) | 51 | os.stat(self.cachedir) |
51 | except OSError: | 52 | except OSError: |
52 | bb.mkdirhier(self.cachedir) | 53 | bb.utils.mkdirhier(self.cachedir) |
53 | 54 | ||
54 | self.cachefile = os.path.join(self.cachedir,"bb_persist_data.sqlite3") | 55 | self.cachefile = os.path.join(self.cachedir,"bb_persist_data.sqlite3") |
55 | bb.msg.debug(1, bb.msg.domain.PersistData, "Using '%s' as the persistent data cache" % self.cachefile) | 56 | bb.msg.debug(1, bb.msg.domain.PersistData, "Using '%s' as the persistent data cache" % self.cachefile) |