From: Chris Larson Date: Thu, 10 Jun 2010 16:46:02 +0000 (-0700) Subject: Use bb.utils.mkdirhier in bb.cache to shut up the pending deprecation warning X-Git-Tag: 2011-1~5476 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e886ec2a2b0d33ff5f2f65259e441e736e28518d;p=openembedded-core.git Use bb.utils.mkdirhier in bb.cache to shut up the pending deprecation warning (Bitbake rev: 0c885752d69e4108e2960d59ec1bd6c911dd141a) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- 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...