diff options
author | Tristan van Berkom <tristan@codethink.co.uk> | 2020-09-23 13:13:20 +0900 |
---|---|---|
committer | Tristan van Berkom <tristan@codethink.co.uk> | 2020-09-23 14:05:53 +0900 |
commit | 764856d005424f0a4509f78fec57d979b9df198e (patch) | |
tree | 2efe19c70ae00c5f62d3adb3ccdfc2617c0ac480 | |
parent | 7a66916ff954829f953f2d9d1867d43b7d9bf8f6 (diff) | |
download | buildstream-tristan/cache-key-type.tar.gz |
element.py: Remove Element._get_brief_display_key()tristan/cache-key-type
Now that we have _DisplayKey(), no need for this extra accessor, it's
not helping anything to have it anymore.
-rw-r--r-- | src/buildstream/element.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py index 016eddca1..a0c185522 100644 --- a/src/buildstream/element.py +++ b/src/buildstream/element.py @@ -1419,18 +1419,6 @@ class Element(Plugin): length = min(len(cache_key), context.log_key_length) return _DisplayKey(cache_key, cache_key[0:length], strict) - # _get_brief_display_key() - # - # Returns an abbreviated cache key for display purposes - # - # Returns: - # (str): An abbreviated hex digest cache key for this Element - # - # Question marks are returned if information for the cache key is missing. - # - def _get_brief_display_key(self): - return self._get_display_key().brief - # _tracking_done(): # # This is called in the main process after the element has been tracked |