mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
most commands dont set locker yet
This commit is contained in:
+3
-1
@@ -64,7 +64,9 @@ class CmdBase(object):
|
||||
|
||||
@property
|
||||
def is_locker(self):
|
||||
return not self.parsed_args.no_lock
|
||||
if 'no_lock' in self.parsed_args.__dict__:
|
||||
return not self.parsed_args.no_lock
|
||||
return True
|
||||
|
||||
def set_locker(self, value):
|
||||
self.parsed_args.no_lock = value
|
||||
|
||||
Reference in New Issue
Block a user