build: fix errors on python3

These wasn't caught in pull-request as it doesn't
have secure env vars to test sync/pull/push/status.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2017-09-03 03:26:52 +03:00
parent 76aab6f6c3
commit ccd7a1339c
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ class CmdDataStatus(CmdBase):
with DvcLock(self.is_locker, self.git):
status = self.cloud.status(self.parsed_args.targets, self.parsed_args.jobs)
if len(status) != len(self.parsed_args.targets):
if len(list(status)) != len(self.parsed_args.targets):
return 1
self._show(status)
+1
View File
@@ -4,6 +4,7 @@ main entry point / argument parsing for dvc
import sys
from dvc.settings import Settings
from dvc.logger import Logger
def main():
try: