Revert "cloud: process targets one-by-one"

This reverts commit 61b469144e.
This commit is contained in:
Ruslan Kuprieiev
2018-02-18 23:10:59 +02:00
parent ba1aaf4c92
commit 576ba96e25
6 changed files with 60 additions and 32 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ from dvc.exceptions import DvcException
class CmdDataPull(CmdBase):
def run(self):
try:
self.project.pull()
self.project.pull(self.args.jobs)
except DvcException as exc:
self.project.logger.error('Failed to pull data from the cloud', exc)
return 1
@@ -19,7 +19,7 @@ class CmdDataPull(CmdBase):
class CmdDataPush(CmdBase):
def run(self):
try:
self.project.push()
self.project.push(self.args.jobs)
except DvcException as exc:
self.project.logger.error('Failed to push data to the cloud', exc)
return 1
@@ -46,7 +46,7 @@ class CmdDataStatus(CmdBase):
def run(self):
try:
status = self.project.status()
status = self.project.status(self.args.jobs)
self._show(status)
except DvcException as exc:
self.project.logger.error('Failed to obtain data status', exc)