[Notes] [Git][BuildStream/buildstream][bst-1.2] 2 commits: Fix crash when --debug is passed



Title: GitLab

Valentin David pushed to branch bst-1.2 at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • buildstream/element.py
    ... ... @@ -194,6 +194,9 @@ class Element(Plugin):
    194 194
     
    
    195 195
         def __init__(self, context, project, artifacts, meta, plugin_conf):
    
    196 196
     
    
    197
    +        self.__cache_key_dict = None            # Dict for cache key calculation
    
    198
    +        self.__cache_key = None                 # Our cached cache key
    
    199
    +
    
    197 200
             super().__init__(meta.name, context, project, meta.provenance, "element")
    
    198 201
     
    
    199 202
             self.__is_junction = meta.kind == "junction"
    
    ... ... @@ -212,8 +215,6 @@ class Element(Plugin):
    212 215
             self.__runtime_dependencies = []        # Direct runtime dependency Elements
    
    213 216
             self.__build_dependencies = []          # Direct build dependency Elements
    
    214 217
             self.__sources = []                     # List of Sources
    
    215
    -        self.__cache_key_dict = None            # Dict for cache key calculation
    
    216
    -        self.__cache_key = None                 # Our cached cache key
    
    217 218
             self.__weak_cache_key = None            # Our cached weak cache key
    
    218 219
             self.__strict_cache_key = None          # Our cached cache key for strict builds
    
    219 220
             self.__artifacts = artifacts            # Artifact cache
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]