mirror of
https://github.com/chatmail/relay.git
synced 2026-05-12 00:54:37 +00:00
fix(cmdeploy): add __call__ to LocalExec so status works with @local
This commit is contained in:
@@ -89,6 +89,11 @@ class LocalExec:
|
||||
self.verbose = verbose
|
||||
self.docker = docker
|
||||
|
||||
def __call__(self, call, kwargs=None, log_callback=None):
|
||||
if kwargs is None:
|
||||
kwargs = {}
|
||||
return call(**kwargs)
|
||||
|
||||
def logged(self, call, kwargs: dict):
|
||||
where = "locally"
|
||||
if self.docker:
|
||||
|
||||
Reference in New Issue
Block a user