diff options
author | Jürg Billeter <j@bitron.ch> | 2017-07-19 08:05:19 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2017-07-20 07:24:56 +0200 |
commit | 513ee660cc3412f4bc127e0e66c7ed36db660d40 (patch) | |
tree | 01982a45648c59bbb4cdb1538bee446b7dd11e86 | |
parent | 2c9f28b79d011383345e5a7cea5b70f2e6c7fb27 (diff) | |
download | buildstream-513ee660cc3412f4bc127e0e66c7ed36db660d40.tar.gz |
element.py: Remove _built() and _set_build()
They are no longer needed.
-rw-r--r-- | buildstream/element.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/buildstream/element.py b/buildstream/element.py index d5409996f..60e81fda1 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -116,7 +116,6 @@ class Element(Plugin): self.__artifacts = artifacts # Artifact cache self.__cached = None # Whether we have a cached artifact self.__remotely_cached = None # Whether we have a remotely cached artifact - self.__built = False # Element was locally built self.__log_path = None # Path to dedicated log file or None self.__splits = None @@ -787,16 +786,6 @@ class Element(Plugin): return self.__tainted - # _set_built(): - # - # Forcefully set the built state on the element. - # - # This is done by the Pipeline when an element successfully - # completes a build. - # - def _set_built(self): - self.__built = True - # _buildable(): # # Returns: @@ -1093,14 +1082,6 @@ class Element(Plugin): # Finally cleanup the build dir shutil.rmtree(rootdir) - # _built(): - # - # Returns: - # (bool): Whether this element has been built locally - # - def _built(self): - return self.__built - # _pull(): # # Pull artifact from remote artifact repository into local artifact cache. |