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.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/buildstream/_artifactcache/artifactcache.py b/buildstream/_artifactcache/artifactcache.py
index 18fca86e0..17038105d 100644
--- a/buildstream/_artifactcache/artifactcache.py
+++ b/buildstream/_artifactcache/artifactcache.py
@@ -254,9 +254,12 @@ class ArtifactCache():
#
# Check whether any remote repositories are available for fetching.
#
+ # Args:
+ # element (Element): The Element to check
+ #
# Returns: True if any remote repositories are configured, False otherwise
#
- def has_fetch_remotes(self):
+ def has_fetch_remotes(self, *, element=None):
return False
# has_push_remotes():