diff options
Diffstat (limited to 'src/buildstream/_artifact.py')
-rw-r--r-- | src/buildstream/_artifact.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/buildstream/_artifact.py b/src/buildstream/_artifact.py index 4e7fa4911..493ca5d26 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(): @@ -75,7 +75,6 @@ class Artifact(): # def get_files(self): files_digest = self._get_field_digest("files") - return CasBasedDirectory(self._cas, digest=files_digest) # get_buildtree(): @@ -338,7 +337,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 |