Fix map issues with Python3
Partially implements: blueprint python-3 Change-Id: Ia7dfc2a28c311a378ca5ada477d18a5b741782b2
This commit is contained in:
parent
1ff88e8459
commit
600992d9bb
|
@ -35,5 +35,5 @@ def ctx_from_headers(headers):
|
|||
service_catalog=service_catalog,
|
||||
user_name=headers['X-User-Name'],
|
||||
project_name=headers['X-Project-Name'],
|
||||
roles=map(six.text_type.strip, headers['X-Roles'].split(',')),
|
||||
roles=list(map(six.text_type.strip, headers['X-Roles'].split(','))),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue