status: print locked warning only when stage is locked

Fixes #927

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-07-20 17:50:07 +03:00
parent 627412ff89
commit 7cde8cbbca
+1 -1
View File
@@ -362,7 +362,7 @@ class Project(object):
stages = self.active_stages()
for stage in stages:
if not stage.locked:
if 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))