status: don't return 1 if len(statuses) != len(targets)

Number of targets from command line doesn't have to match
number of actual files that we've processed, as it may as
well be a directory.

Fixes #204

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2017-09-14 22:23:28 +03:00
parent 0c561e7f12
commit ce609c5f50
-3
View File
@@ -52,9 +52,6 @@ class CmdDataStatus(CmdBase):
with DvcLock(self.is_locker, self.git):
status = self.cloud.status(self.parsed_args.targets, self.parsed_args.jobs)
if len(list(status)) != len(self.parsed_args.targets):
return 1
self._show(status)
return 0