mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
status: print locked warning only when stage is locked
Fixes #927 Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+1
-1
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user