diff --git a/dvc/repo/status.py b/dvc/repo/status.py index b5deced3e7..0bffc50f74 100644 --- a/dvc/repo/status.py +++ b/dvc/repo/status.py @@ -1,7 +1,5 @@ import logging -from itertools import compress - -from funcy.py3 import cat +from itertools import chain, compress from dvc.exceptions import InvalidArgumentError @@ -29,7 +27,7 @@ def _joint_status(pairs): def _local_status(self, targets=None, with_deps=False, recursive=False): targets = targets or [None] - pairs = cat( + pairs = chain.from_iterable( self.stage.collect_granular(t, with_deps=with_deps, recursive=recursive) for t in targets )