]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
cache: use new style classes
authorChris Larson <chris_larson@mentor.com>
Thu, 18 Nov 2010 18:14:27 +0000 (11:14 -0700)
committerChris Larson <chris_larson@mentor.com>
Thu, 18 Nov 2010 18:14:27 +0000 (11:14 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/bb/cache.py

index 8353753965cb464903ce73b760736d340537af4b..cff220a1ad004b6fae410aa37cd90f0756ddef48 100644 (file)
@@ -45,7 +45,8 @@ except ImportError:
 
 __cache_version__ = "131"
 
-class Cache:
+
+class Cache(object):
     """
     BitBake Cache implementation
     """
@@ -496,11 +497,7 @@ def init(cooker):
     return Cache(cooker.configuration.data)
 
 
-
-#============================================================================#
-# CacheData
-#============================================================================#
-class CacheData:
+class CacheData(object):
     """
     The data structures we compile from the cached data
     """