formatting

This commit is contained in:
dvanaken 2019-11-08 09:14:44 -05:00 committed by Dana Van Aken
parent 2a3b075516
commit a008428903
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ 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: