mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-09 07:18:27 +01:00
Revert "cli: status: remove unused code"
This reverts commit ac27b4076a.
Fixes #1727
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user