(self, stats)
| 10 | |
| 11 | class CmdDataBase(CmdBase): |
| 12 | def log_summary(self, stats): |
| 13 | from dvc.ui import ui |
| 14 | from dvc.utils.humanize import get_summary |
| 15 | |
| 16 | default_msg = "Everything is up to date." |
| 17 | |
| 18 | if not self.args.remote and not self.repo.config["core"].get("remote"): |
| 19 | ui.warn("No remote provided and no default remote set.") |
| 20 | |
| 21 | ui.write(get_summary(stats.items()) or default_msg) |
| 22 | |
| 23 | |
| 24 | class CmdDataPull(CmdDataBase): |
no test coverage detected