]> code.ossystems Code Review - openembedded-core.git/commitdiff
Use bb.utils.mkdirhier in bb.cache to shut up the pending deprecation warning
authorChris Larson <chris_larson@mentor.com>
Thu, 10 Jun 2010 16:46:02 +0000 (09:46 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 2 Jul 2010 14:41:36 +0000 (15:41 +0100)
(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

index f77a3f185e335dfe718327deb2d03089fa904f76..da4546640a79bd4c03d3d8955e297fab7003cdd7 100644 (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...