summaryrefslogtreecommitdiff
path: root/buildstream/_artifactcache/artifactcache.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_artifactcache/artifactcache.py')
-rw-r--r--buildstream/_artifactcache/artifactcache.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildstream/_artifactcache/artifactcache.py b/buildstream/_artifactcache/artifactcache.py
index aef2cde1d..927876dfb 100644
--- a/buildstream/_artifactcache/artifactcache.py
+++ b/buildstream/_artifactcache/artifactcache.py
@@ -164,6 +164,7 @@ class ArtifactCache():
#
# Args:
# element (Element): The Element to extract
+ # key (str): The cache key to use
#
# Raises:
# ArtifactError: In cases there was an OSError, or if the artifact
@@ -171,7 +172,7 @@ class ArtifactCache():
#
# Returns: path to extracted artifact
#
- def extract(self, element):
+ def extract(self, element, key):
raise ImplError("Cache '{kind}' does not implement extract()"
.format(kind=type(self).__name__))