status: print a warning about locked DVC files

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-07-16 16:48:00 +03:00
parent d98a166f87
commit 6a01578dfb
+5
View File
@@ -360,6 +360,11 @@ class Project(object):
stages = self.active_stages()
for stage in stages:
if not stage.locked:
msg = 'DVC file \'{}\' is locked. Its dependecies are not ' \
'going to be shown in status output.'
self.logger.warn(msg.format(stage.relpath))
status.update(stage.status())
return status