mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-12 07:18:23 +01:00
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:
@@ -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)
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user