repo: used_cache: remove active flag

This commit is contained in:
pawel
2019-08-27 14:08:00 +02:00
parent babd5b2a12
commit a9efabbc6e
2 changed files with 0 additions and 10 deletions
-9
View File
@@ -183,7 +183,6 @@ class Repo(object):
self,
targets=None,
all_branches=False,
active=True,
with_deps=False,
all_tags=False,
remote=None,
@@ -229,14 +228,6 @@ class Repo(object):
stages = self.stages()
for stage in stages:
if active and not targets and stage.locked:
logger.warning(
"DVC-file '{path}' is locked. Its dependencies are"
" not going to be pushed/pulled/fetched.".format(
path=stage.relpath
)
)
for out in stage.outs:
scheme = out.path_info.scheme
used_cache = out.get_used_cache(
-1
View File
@@ -35,7 +35,6 @@ def _load_all_used_cache(
repo_clist = repo.used_cache(
targets=None,
all_branches=all_branches,
active=False,
with_deps=with_deps,
all_tags=all_tags,
remote=remote,