Message ID | 1243019807-21078-4-git-send-email-lmr@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/client/tests/kvm_runtest_2/kvm_utils.py b/client/tests/kvm_runtest_2/kvm_utils.py index bcc80a1..9ef5954 100644 --- a/client/tests/kvm_runtest_2/kvm_utils.py +++ b/client/tests/kvm_runtest_2/kvm_utils.py @@ -755,6 +755,9 @@ def track_process(sub, status_output=None, term_func=None, stdout_func=None, # Call stdout_func with the returned text if stdout_func: text = prefix + text.strip() + # We need to sanitize the text before passing it to the logging + # system + text = text.decode('utf-8', 'replace') stdout_func(text)