Python 3: HTTPMessage.getheader() does not exist

Bug #1267987 reported by Cyril Roelandt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
Fix Released
Medium
Cyril Roelandt

Bug Description

In Python 2, HTTPMessage.get() is a synonym for HTTPMessage.getheader(). The latter does not exist in Python 3, which means the former should be used in keystoneclient/tests/utils.py.

Changed in python-keystoneclient:
assignee: nobody → Cyril Roelandt (cyril-roelandt)
status: New → In Progress
Dolph Mathews (dolph)
Changed in python-keystoneclient:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-keystoneclient (master)

Reviewed: https://review.openstack.org/62642
Committed: https://git.openstack.org/cgit/openstack/python-keystoneclient/commit/?id=d9b4f11a2cf5f9acccd4eb866f6068d4b8c9bd7a
Submitter: Jenkins
Branch: master

commit d9b4f11a2cf5f9acccd4eb866f6068d4b8c9bd7a
Author: Cyril Roelandt <email address hidden>
Date: Tue Dec 17 14:34:17 2013 +0100

    Python 3: Use HTTPMessage.get() rather than HTTPMessage.getheader()

    In Python 2, get() is a synonym for getheader(), which does not exist in Python
    3.

    Closes-Bug: #1267987
    Change-Id: I6989a6ea733e0a186e9e68a61aaa8c3e43a198a6

Changed in python-keystoneclient:
status: In Progress → Fix Committed
Dolph Mathews (dolph)
Changed in python-keystoneclient:
milestone: none → 0.4.2
Dolph Mathews (dolph)
Changed in python-keystoneclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.