diff options
| author | Chris Larson <chris_larson@mentor.com> | 2010-11-18 11:14:27 -0700 | 
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:40 +0000 | 
| commit | 84f02831a71781b734055aedc6e630e86bc6dd48 (patch) | |
| tree | 0a2bafdc7469384c78e33b40b7404980f63d6ae8 /bitbake/lib/bb/cache.py | |
| parent | c4d939079e19659540145c55ad44cc23fa254c27 (diff) | |
| download | poky-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.py | 9 | 
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: | |||
| 45 | 45 | ||
| 46 | __cache_version__ = "132" | 46 | __cache_version__ = "132" | 
| 47 | 47 | ||
| 48 | class Cache: | 48 | |
| 49 | class Cache(object): | ||
| 49 | """ | 50 | """ | 
| 50 | BitBake Cache implementation | 51 | BitBake Cache implementation | 
| 51 | """ | 52 | """ | 
| @@ -502,11 +503,7 @@ def init(cooker): | |||
| 502 | return Cache(cooker.configuration.data) | 503 | return Cache(cooker.configuration.data) | 
| 503 | 504 | ||
| 504 | 505 | ||
| 505 | 506 | class CacheData(object): | |
| 506 | #============================================================================# | ||
| 507 | # CacheData | ||
| 508 | #============================================================================# | ||
| 509 | class CacheData: | ||
| 510 | """ | 507 | """ | 
| 511 | The data structures we compile from the cached data | 508 | The data structures we compile from the cached data | 
| 512 | """ | 509 | """ | 
