]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
misc.py: sh helper to log command and output 530/head
authorLoic Dachary <ldachary@redhat.com>
Sun, 14 Jun 2015 07:35:35 +0000 (09:35 +0200)
committerLoic Dachary <ldachary@redhat.com>
Wed, 1 Jul 2015 16:50:52 +0000 (18:50 +0200)
commit2adeb5a788b8cbc29efb9d0cdaab1199e93f2a1d
tree47fb140bf16fef822bf0ab793b7b1c1ea50f65fc
parentf89208bf8eeaef61209dccdec5d458b14ad8fa27
misc.py: sh helper to log command and output

It is the same as subprocess.check_output, only it log.debug the command
being run as well as its output.

Signed-off-by: Loic Dachary <loic@dachary.org>
teuthology/misc.py