aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-11-18 11:14:27 -0700
committerChris Larson <chris_larson@mentor.com>2010-11-18 11:14:27 -0700
commite084430446be2544dd1a6b627088f888c37cc7f0 (patch)
treedcda04955e5204aa605ef31f3fd83ed678f83810 /lib
parent06420ff839ffc37de3e42474b8b0e47c4608a985 (diff)
downloadbitbake-e084430446be2544dd1a6b627088f888c37cc7f0.tar.gz
cache: use new style classes
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/cache.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/bb/cache.py b/lib/bb/cache.py
index 835375396..cff220a1a 100644
--- a/lib/bb/cache.py
+++ b/lib/bb/cache.py
@@ -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
"""