Browse Source

cache: fix docstring usage

Use comments instead of docstrings where appropriate in CacheData.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson 13 years ago
parent
commit
088d516e02
1 changed files with 2 additions and 7 deletions
  1. 2 7
      lib/bb/cache.py

+ 2 - 7
lib/bb/cache.py

@@ -541,9 +541,7 @@ class CacheData(object):
     """
 
     def __init__(self):
-        """
-        Direct cache variables
-        """
+        # Direct cache variables
         self.providers = defaultdict(list)
         self.rproviders = defaultdict(list)
         self.packages = defaultdict(list)
@@ -567,10 +565,7 @@ class CacheData(object):
         self.basetaskhash = {}
         self.hashfn = {}
 
-        """
-        Indirect Cache variables
-        (set elsewhere)
-        """
+        # Indirect Cache variables (set elsewhere)
         self.ignored_dependencies = []
         self.world_target = set()
         self.bbfile_priority = {}