summaryrefslogtreecommitdiffstats
path: root/lib/bb/persist_data.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-04-10 22:05:02 -0700
committerChris Larson <chris_larson@mentor.com>2010-04-10 22:05:02 -0700
commitddea2978cb969cf1381cfee5c055de0c9e56a4e3 (patch)
tree8f50b76f584224ae466720c912b64c42eba45c55 /lib/bb/persist_data.py
parent30ae747cc5c733512e417c61fca23c0cd15b0e44 (diff)
downloadbitbake-contrib-ddea2978cb969cf1381cfee5c055de0c9e56a4e3.tar.gz
Switch some references to moved functions
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/persist_data.py')
-rw-r--r--lib/bb/persist_data.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/persist_data.py b/lib/bb/persist_data.py
index e2bbbe54f..a26244510 100644
--- a/lib/bb/persist_data.py
+++ b/lib/bb/persist_data.py
@@ -16,6 +16,7 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import bb, os
+import bb.utils
try:
import sqlite3
@@ -49,7 +50,7 @@ class PersistData:
try:
os.stat(self.cachedir)
except OSError:
- bb.mkdirhier(self.cachedir)
+ bb.utils.mkdirhier(self.cachedir)
self.cachefile = os.path.join(self.cachedir,"bb_persist_data.sqlite3")
bb.msg.debug(1, bb.msg.domain.PersistData, "Using '%s' as the persistent data cache" % self.cachefile)