diff options
author | Soren Hansen <soren@linux2go.dk> | 2011-03-10 21:31:47 +0100 |
---|---|---|
committer | Soren Hansen <soren@linux2go.dk> | 2011-03-10 21:31:47 +0100 |
commit | 11f2d788fd63c66af0e992f7b75b61273c059bcb (patch) | |
tree | 463a64f0c3f569f5523f34aa0a2bd324722d0cad /nova/utils.py | |
parent | 1d6b4e8d74825790f2c20ddceae52f88ae094d82 (diff) | |
download | nova-11f2d788fd63c66af0e992f7b75b61273c059bcb.tar.gz nova-11f2d788fd63c66af0e992f7b75b61273c059bcb.tar.xz nova-11f2d788fd63c66af0e992f7b75b61273c059bcb.zip |
PEP8
Diffstat (limited to 'nova/utils.py')
-rw-r--r-- | nova/utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/utils.py b/nova/utils.py index 3008a512e..87e726394 100644 --- a/nova/utils.py +++ b/nova/utils.py @@ -166,9 +166,9 @@ def execute(*cmd, **kwargs): stdout=stdout, stderr=stderr, cmd=' '.join(cmd)) - # NOTE(termie): this appears to be necessary to let the subprocess call - # clean something up in between calls, without it two - # execute calls in a row hangs the second one + # NOTE(termie): this appears to be necessary to let the subprocess + # call clean something up in between calls, without + # it two execute calls in a row hangs the second one greenthread.sleep(0) return result except ProcessExecutionError: |