]> code.ossystems Code Review - openembedded-core.git/commitdiff
cache: use new style classes
authorChris Larson <chris_larson@mentor.com>
Thu, 18 Nov 2010 18:14:27 +0000 (11:14 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 4 Jan 2011 14:46:40 +0000 (14:46 +0000)
(Bitbake rev: e084430446be2544dd1a6b627088f888c37cc7f0)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/cache.py

index 05d8b1e47e328e2027eff9b79cfd3339a93354f8..0734c7e771cade1e04babd805c1aa073e82e17f4 100644 (file)
@@ -45,7 +45,8 @@ except ImportError:
 
 __cache_version__ = "132"
 
-class Cache:
+
+class Cache(object):
     """
     BitBake Cache implementation
     """
@@ -502,11 +503,7 @@ def init(cooker):
     return Cache(cooker.configuration.data)
 
 
-
-#============================================================================#
-# CacheData
-#============================================================================#
-class CacheData:
+class CacheData(object):
     """
     The data structures we compile from the cached data
     """