Use bb.utils.mkdirhier in bb.cache to shut up the pending deprecation warning

(Bitbake rev: 0c885752d69e4108e2960d59ec1bd6c911dd141a)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Chris Larson 2010-06-10 09:46:02 -07:00 committed by Richard Purdie
parent 8f9bdd68de
commit e886ec2a2b
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class Cache:
self.cachefile = os.path.join(self.cachedir, "bb_cache.dat")
bb.msg.debug(1, bb.msg.domain.Cache, "Using cache in '%s'" % self.cachedir)
bb.mkdirhier(self.cachedir)
bb.utils.mkdirhier(self.cachedir)
# If any of configuration.data's dependencies are newer than the
# cache there isn't even any point in loading it...