mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 15:28:34 +01:00
Merge pull request #1004 from efiop/master
status: print msg if there is nothing to reproduce
This commit is contained in:
@@ -29,7 +29,11 @@ class CmdDataStatus(CmdDataBase):
|
||||
cloud=self.args.cloud,
|
||||
show_checksums=self.args.show_checksums,
|
||||
remote=self.args.remote)
|
||||
self._show(st, indent)
|
||||
if st:
|
||||
self._show(st, indent)
|
||||
else:
|
||||
self.project.logger.info("Nothing to reproduce. "
|
||||
"Pipeline is up to date.")
|
||||
except Exception as exc:
|
||||
self.project.logger.error('Failed to obtain data status', exc)
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user