Fix translation error for missing default role

Fixes: bug #1175165
Change-Id: Ic3e19b47c5449740bec189f2c3a2e803d22fb5dc
(cherry picked from commit 112b1e181d)
This commit is contained in:
Imre Farkas 2013-05-02 12:56:47 +02:00 committed by Julie Pichon
parent 5825d8dfad
commit e68b7a8e9c
1 changed files with 2 additions and 2 deletions

View File

@ -125,8 +125,8 @@ class UpdateProjectMembersAction(workflows.Action):
if default_role is None:
default = getattr(settings,
"OPENSTACK_KEYSTONE_DEFAULT_ROLE", None)
msg = _('Could not find default role "%s" in Keystone'
% default)
msg = _('Could not find default role "%s" in Keystone') % \
default
raise exceptions.NotFound(msg)
except:
exceptions.handle(self.request,