From e886ec2a2b0d33ff5f2f65259e441e736e28518d Mon Sep 17 00:00:00 2001 From: Chris Larson <chris_larson@mentor.com> Date: Thu, 10 Jun 2010 09:46:02 -0700 Subject: 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> --- bitbake/lib/bb/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index f77a3f185e..da4546640a 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py @@ -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... -- cgit v1.2.3