]> code.ossystems Code Review - openembedded-core.git/commitdiff
cache: fix docstring usage
authorChris Larson <chris_larson@mentor.com>
Thu, 20 Jan 2011 21:32:16 +0000 (14:32 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Feb 2011 22:34:10 +0000 (22:34 +0000)
Use comments instead of docstrings where appropriate in CacheData.

(Bitbake rev: 088d516e02bb2b4ce8a50bbaa967e944c46e620b)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/cache.py

index ff42a37b44d6ea86500d0513b08faee2dc6a5489..7ea04ac1a52f5982f7c05834526834eb8a12fd09 100644 (file)
@@ -548,9 +548,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)
@@ -575,10 +573,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 = {}