KVM test: kvm_preprocessing.py: simplify pre/post_command error handling

Currently the error message appears twice: both in a logging.warn() statement
and in an exception.  Also the error.TestError raised adds unnecessary text to
the exception message, which is informative enough as it is.

Signed-off-by: Michael Goldish <mgoldish@redhat.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4648 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed