Merge "Fix AttributeError in context_selection.py"

This commit is contained in:
Jenkins 2016-08-19 03:17:08 +00:00 committed by Gerrit Code Review
commit 94709da2a3

View File

@ -100,7 +100,7 @@ def show_region_list(context):
request = context['request']
context = {'region_name': request.user.services_region,
'regions': sorted(request.user.available_services_regions,
key=lambda x: x.lower()),
key=lambda x: (x or '').lower()),
'page_url': request.horizon.get('panel').get_absolute_url()}
return context