summaryrefslogtreecommitdiff
path: root/bitbake/lib
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
parentc4d939079e19659540145c55ad44cc23fa254c27 (diff)
downloadopenembedded-core-84f02831a71781b734055aedc6e630e86bc6dd48.tar.gz
openembedded-core-84f02831a71781b734055aedc6e630e86bc6dd48.tar.bz2
openembedded-core-84f02831a71781b734055aedc6e630e86bc6dd48.tar.xz
openembedded-core-84f02831a71781b734055aedc6e630e86bc6dd48.zip
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')
-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 05d8b1e47..0734c7e77 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
"""