summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Grayson <becky.grayson1@hotmail.co.uk>2019-07-18 09:48:33 +0100
committerTristan Maat <tm@tlater.net>2019-07-26 15:22:25 +0000
commitb7e5fdf5fd134a80a4654552bfd913849cd50f71 (patch)
tree0ec88fd40b149b8a611c91db1ac803fe93042dd0
parenta9adb480eb9b2c59f5b32a9bd4576867bafe8889 (diff)
downloadbuildstream-b7e5fdf5fd134a80a4654552bfd913849cd50f71.tar.gz
Fix up of some spelling mistakes
-rw-r--r--src/buildstream/_artifact.py6
-rw-r--r--src/buildstream/_loader/loader.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/buildstream/_artifact.py b/src/buildstream/_artifact.py
index 4e7fa4911..b0c09622f 100644
--- a/src/buildstream/_artifact.py
+++ b/src/buildstream/_artifact.py
@@ -37,13 +37,13 @@ from .types import Scope
from .storage._casbaseddirectory import CasBasedDirectory
-# An Artifact class to abtract artifact operations
+# An Artifact class to abstract artifact operations
# from the Element class
#
# Args:
# element (Element): The Element object
# context (Context): The BuildStream context
-# strong_key (str): The elements strong cache key, dependant on context
+# strong_key (str): The elements strong cache key, dependent on context
# weak_key (str): The elements weak cache key
#
class Artifact():
@@ -338,7 +338,7 @@ class Artifact():
# Check whether the artifact corresponding to the stored cache key is
# available. This also checks whether all required parts of the artifact
# are available, which may depend on command and configuration. The cache
- # key used for querying is dependant on the current context.
+ # key used for querying is dependent on the current context.
#
# Returns:
# (bool): Whether artifact is in local cache
diff --git a/src/buildstream/_loader/loader.py b/src/buildstream/_loader/loader.py
index 0ec9b9e17..4b66288ca 100644
--- a/src/buildstream/_loader/loader.py
+++ b/src/buildstream/_loader/loader.py
@@ -116,7 +116,7 @@ class Loader():
target_elements.append(element)
#
- # Now that we've resolve the dependencies, scan them for circular dependencies
+ # Now that we've resolved the dependencies, scan them for circular dependencies
#
# Set up a dummy element that depends on all top-level targets