...formatting
This commit is contained in:
parent
a008428903
commit
9a4bbeead5
|
@ -67,8 +67,7 @@ def run(cmd, **kwargs):
|
||||||
cmdd = cmd[:-1].strip()
|
cmdd = cmd[:-1].strip()
|
||||||
opts = '-d '
|
opts = '-d '
|
||||||
res = local('docker exec {} -ti {} /bin/bash -c "{}"'.format(
|
res = local('docker exec {} -ti {} /bin/bash -c "{}"'.format(
|
||||||
opts, dconf.CONTAINER_NAME, cmdd),
|
opts, dconf.CONTAINER_NAME, cmdd), capture=True, **kwargs)
|
||||||
capture=True, **kwargs)
|
|
||||||
except TypeError as e:
|
except TypeError as e:
|
||||||
err = str(e).strip()
|
err = str(e).strip()
|
||||||
if 'unexpected keyword argument' in err:
|
if 'unexpected keyword argument' in err:
|
||||||
|
|
Loading…
Reference in New Issue