summaryrefslogtreecommitdiff
path: root/buildstream/_stream.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_stream.py')
-rw-r--r--buildstream/_stream.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildstream/_stream.py b/buildstream/_stream.py
index 6e2e8b25b..f8e7422d1 100644
--- a/buildstream/_stream.py
+++ b/buildstream/_stream.py
@@ -357,7 +357,7 @@ class Stream():
# target (str): Target to checkout
# location (str): Location to checkout the artifact to
# force (bool): Whether files can be overwritten if necessary
- # deps (str): The dependencies to checkout
+ # scope (str): The scope of dependencies to checkout
# integrate (bool): Whether to run integration commands
# hardlinks (bool): Whether checking out files hardlinked to
# their artifacts is acceptable
@@ -370,7 +370,7 @@ class Stream():
def checkout(self, target, *,
location=None,
force=False,
- deps='run',
+ scope=Scope.RUN,
integrate=True,
hardlinks=False,
tar=False):
@@ -403,7 +403,7 @@ class Stream():
# Stage deps into a temporary sandbox first
try:
- with target._prepare_sandbox(Scope.RUN, None, deps=deps,
+ with target._prepare_sandbox(scope=scope, directory=None,
integrate=integrate) as sandbox:
# Copy or move the sandbox to the target directory