mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-24 23:09:33 +01:00
lock: fix error msg
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ class CmdLockBase(CmdBase):
|
||||
self.project.lock_stage(target, unlock=unlock)
|
||||
except DvcException as ex:
|
||||
msg = 'Failed to {}lock \'{}\''
|
||||
msg.format('un' if unlock else '', target)
|
||||
msg = msg.format('un' if unlock else '', target)
|
||||
self.project.logger.error(msg, ex)
|
||||
return 1
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user