PEP8
This commit is contained in:
@@ -166,9 +166,9 @@ def execute(*cmd, **kwargs):
|
|||||||
stdout=stdout,
|
stdout=stdout,
|
||||||
stderr=stderr,
|
stderr=stderr,
|
||||||
cmd=' '.join(cmd))
|
cmd=' '.join(cmd))
|
||||||
# NOTE(termie): this appears to be necessary to let the subprocess call
|
# NOTE(termie): this appears to be necessary to let the subprocess
|
||||||
# clean something up in between calls, without it two
|
# call clean something up in between calls, without
|
||||||
# execute calls in a row hangs the second one
|
# it two execute calls in a row hangs the second one
|
||||||
greenthread.sleep(0)
|
greenthread.sleep(0)
|
||||||
return result
|
return result
|
||||||
except ProcessExecutionError:
|
except ProcessExecutionError:
|
||||||
|
|||||||
Reference in New Issue
Block a user