mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-27 15:28:30 +01:00
RFC: follow flake8 rules
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -24,7 +24,8 @@ class CmdDataPull(CmdDataBase):
|
||||
remote=self.args.remote,
|
||||
all_branches=self.args.all_branches)
|
||||
except Exception as exc:
|
||||
self.project.logger.error('Failed to pull data from the cloud', exc)
|
||||
self.project.logger.error('Failed to pull data from the cloud',
|
||||
exc)
|
||||
return 1
|
||||
return 0
|
||||
|
||||
@@ -50,6 +51,7 @@ class CmdDataFetch(CmdDataBase):
|
||||
remote=self.args.remote,
|
||||
all_branches=self.args.all_branches)
|
||||
except Exception as exc:
|
||||
self.project.logger.error('Failed to fetch data from the cloud', exc)
|
||||
self.project.logger.error('Failed to fetch data from the cloud',
|
||||
exc)
|
||||
return 1
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user