From 600992d9bb3f357bdef8769a61b4829be8952573 Mon Sep 17 00:00:00 2001 From: Hiroaki Kobayashi Date: Mon, 15 Jan 2018 13:38:05 +0900 Subject: [PATCH] Fix map issues with Python3 Partially implements: blueprint python-3 Change-Id: Ia7dfc2a28c311a378ca5ada477d18a5b741782b2 --- blazar/api/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blazar/api/context.py b/blazar/api/context.py index da1ecf61..218f901b 100644 --- a/blazar/api/context.py +++ b/blazar/api/context.py @@ -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(','))), )