Change in ovirt-engine-sdk[sdk_4.0]: Use HTTPMessage.get instead of HTTPMessage.getheader

omachace at redhat.com omachace at redhat.com
Mon Aug 29 19:34:07 UTC 2016


Ondra Machacek has submitted this change and it was merged.

Change subject: Use HTTPMessage.get instead of HTTPMessage.getheader
......................................................................


Use HTTPMessage.get instead of HTTPMessage.getheader

In Python 3 the 'getheader' method doesn't work, but 'get' works in both
Python 2 and Python 3.

Change-Id: I7a7d6599dcc31cfc56f62e605229854aaab17dcd
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
(cherry picked from commit 86e15e5ec3955b29d488f16ea53113d451c150b1)
---
M sdk/tests/server.py
1 file changed, 2 insertions(+), 2 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7a7d6599dcc31cfc56f62e605229854aaab17dcd
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