summaryrefslogtreecommitdiff
path: root/src/buildstream/_artifact.py
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2020-01-23 15:35:19 +0100
committerJürg Billeter <j@bitron.ch>2020-02-11 21:08:59 +0100
commit42517feb1365992a99ddc3a41121dbc3bd1f3a7d (patch)
tree4a12f11a1d2175efbd863b17e7898913201e3405 /src/buildstream/_artifact.py
parente2a80685edabd5e1d78cfaa533edb7010f67c33d (diff)
downloadbuildstream-42517feb1365992a99ddc3a41121dbc3bd1f3a7d.tar.gz
_artifact.py: Remove unused rootdir parameter from cache() method
Diffstat (limited to 'src/buildstream/_artifact.py')
-rw-r--r--src/buildstream/_artifact.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/buildstream/_artifact.py b/src/buildstream/_artifact.py
index ae1b395b3..c025579de 100644
--- a/src/buildstream/_artifact.py
+++ b/src/buildstream/_artifact.py
@@ -121,7 +121,6 @@ class Artifact:
# Create the artifact and commit to cache
#
# Args:
- # rootdir (str): An absolute path to the temp rootdir for artifact construct
# sandbox_build_dir (Directory): Virtual Directory object for the sandbox build-root
# collectvdir (Directory): Virtual Directoy object from within the sandbox for collection
# buildresult (tuple): bool, short desc and detailed desc of result
@@ -130,7 +129,7 @@ class Artifact:
# Returns:
# (int): The size of the newly cached artifact
#
- def cache(self, rootdir, sandbox_build_dir, collectvdir, buildresult, publicdata):
+ def cache(self, sandbox_build_dir, collectvdir, buildresult, publicdata):
context = self._context
element = self._element