From 5fbf4f6db3e30b32e48cfaec25675a396c1f9693 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Thu, 14 Mar 2019 12:46:57 +0200 Subject: [PATCH] Revert "cli: status: remove unused code" This reverts commit ac27b4076a2216fe78d5c33f37718edde27a9d00. Fixes #1727 --- dvc/command/status.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dvc/command/status.py b/dvc/command/status.py index 4861d670e..1e38ed0d8 100644 --- a/dvc/command/status.py +++ b/dvc/command/status.py @@ -18,6 +18,10 @@ class CmdDataStatus(CmdDataBase): def _show(self, status, indent=0): ind = indent * self.STATUS_INDENT + if isinstance(status, str): + logger.info("{}{}".format(ind, status)) + return + if isinstance(status, list): for entry in status: self._show(entry, indent)