summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-07-16 16:09:56 +0200
committerbst-marge-bot <marge-bot@buildstream.build>2019-07-16 14:49:57 +0000
commit500da4a9994e311127e1e0bc25507bfd36f3fafa (patch)
tree9cb1fe2ccdf6e192bdc7b2febaf1ccbac61e48ae
parent5c9753b3bd6bc135a5952f407a6f107bd777fb01 (diff)
downloadbuildstream-500da4a9994e311127e1e0bc25507bfd36f3fafa.tar.gz
_project.py: Remove unused _cache_key and get_cache_key()
-rw-r--r--src/buildstream/_project.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/buildstream/_project.py b/src/buildstream/_project.py
index a2ce5ae91..6a2c0f347 100644
--- a/src/buildstream/_project.py
+++ b/src/buildstream/_project.py
@@ -24,7 +24,6 @@ from collections import OrderedDict
from pathlib import Path
from pluginbase import PluginBase
from . import utils
-from . import _cachekey
from . import _site
from . import _yaml
from ._artifactelement import ArtifactElement
@@ -137,7 +136,6 @@ class Project():
self._default_mirror = default_mirror # The name of the preferred mirror.
self._cli_options = cli_options
- self._cache_key = None
self._fatal_warnings = [] # A list of warnings which should trigger an error
@@ -219,22 +217,6 @@ class Project():
def get_shell_config(self):
return (self._shell_command, self._shell_environment, self._shell_host_files)
- # get_cache_key():
- #
- # Returns the cache key, calculating it if necessary
- #
- # Returns:
- # (str): A hex digest cache key for the Context
- #
- def get_cache_key(self):
- if self._cache_key is None:
-
- # Anything that alters the build goes into the unique key
- # (currently nothing here)
- self._cache_key = _cachekey.generate_key({})
-
- return self._cache_key
-
# get_path_from_node()
#
# Fetches the project path from a dictionary node and validates it