summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Ennis <james.ennis@codethink.co.uk>2019-06-26 16:31:07 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-07-16 09:13:39 +0000
commit9084efc1f9e01fb21e63c4fcc560409cddb5674d (patch)
treee4b02f16c5663daf4ee3d1881190159d6d383cce
parentfa70a4299bc97b1f723a8602f6fad1bcc013f17a (diff)
downloadbuildstream-9084efc1f9e01fb21e63c4fcc560409cddb5674d.tar.gz
element.py: Remove misleading and incorrect comments
These comments should have been removed/fixed in 176a3057
-rw-r--r--src/buildstream/element.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index c098f2b86..851d43ff7 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -2239,14 +2239,14 @@ class Element(Plugin):
# _update_ready_for_runtime_and_cached()
#
- # An Element becomes ready for runtime and cached once the following three criteria
+ # An Element becomes ready for runtime and cached once the following criteria
# are met:
# 1. The Element has a strong cache key
# 2. The Element's keys are considered stable
# 3. The Element is cached (locally)
# 4. The runtime dependencies of the Element are ready for runtime and cached.
#
- # These three criteria serve as potential trigger points as to when an Element may have
+ # These criteria serve as potential trigger points as to when an Element may have
# become ready for runtime and cached.
#
# Once an Element becomes ready for runtime and cached, we notify the reverse
@@ -3105,7 +3105,6 @@ class Element(Plugin):
self.__strict_artifact = Artifact(self, context, strong_key=self.__strict_cache_key,
weak_key=self.__weak_cache_key)
- # In strict mode, the strong cache key always matches the strict cache key
if context.get_strict():
self.__artifact = self.__strict_artifact