summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cache.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-11-18 11:14:27 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:40 +0000
commit84f02831a71781b734055aedc6e630e86bc6dd48 (patch)
tree0a2bafdc7469384c78e33b40b7404980f63d6ae8 /bitbake/lib/bb/cache.py
parentc4d939079e19659540145c55ad44cc23fa254c27 (diff)
downloadopenembedded-core-contrib-84f02831a71781b734055aedc6e630e86bc6dd48.tar.gz
cache: use new style classes
(Bitbake rev: e084430446be2544dd1a6b627088f888c37cc7f0) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/cache.py')
-rw-r--r--bitbake/lib/bb/cache.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index 05d8b1e47e..0734c7e771 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -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
"""