Merge pull request #1004 from efiop/master

status: print msg if there is nothing to reproduce
This commit is contained in:
Ruslan Kuprieiev
2018-08-13 05:31:33 +03:00
committed by GitHub
+5 -1
View File
@@ -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