Change in ovirt-engine-sdk[sdk_4.0]: Check the type of debug data

omachace at redhat.com omachace at redhat.com
Wed Aug 31 06:40:46 UTC 2016


Ondra Machacek has submitted this change and it was merged.

Change subject: Check the type of debug data
......................................................................


Check the type of debug data

Apparently some versions of PycURL provide the debug data as strings,
and others as arrays of bytes. When they are arrays of bytes we need to
convert them to strings before manipulating them with the 'replace',
'strip' and 'split' methods.

Change-Id: I43715da41af2971198b5a0ffc6e42a656ed4694f
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
(cherry picked from commit f886e01d69f58c376167944eb0a82ee8a124456c)
---
M sdk/lib/ovirtsdk4/__init__.py
1 file changed, 10 insertions(+), 2 deletions(-)

Approvals:
  Ondra Machacek: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/63044
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I43715da41af2971198b5a0ffc6e42a656ed4694f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: sdk_4.0
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list