summaryrefslogtreecommitdiff
path: root/src/buildstream/storage
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2020-10-29 09:49:37 +0100
committerJürg Billeter <j@bitron.ch>2020-12-09 14:51:06 +0000
commit1c8e13ca2fdab14568539bb50af0aa94f0c18c93 (patch)
treef750b26e342d50593a8985d53ef1ad87f84a8b63 /src/buildstream/storage
parent1029ea03ae4b4dcc3f0365325ad828865763b10f (diff)
downloadbuildstream-1c8e13ca2fdab14568539bb50af0aa94f0c18c93.tar.gz
cascache.py: Remove unused parameters from add_object()
Diffstat (limited to 'src/buildstream/storage')
-rw-r--r--src/buildstream/storage/_casbaseddirectory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/storage/_casbaseddirectory.py b/src/buildstream/storage/_casbaseddirectory.py
index 75399953e..c061a28e4 100644
--- a/src/buildstream/storage/_casbaseddirectory.py
+++ b/src/buildstream/storage/_casbaseddirectory.py
@@ -220,7 +220,7 @@ class CasBasedDirectory(Directory):
return newdir
def _add_file(self, name, path, modified=False, can_link=False, properties=None):
- digest = self.cas_cache.add_object(path=path, link_directly=can_link)
+ digest = self.cas_cache.add_object(path=path)
is_executable = os.access(path, os.X_OK)
mtime = None
if properties and "mtime" in properties: