Browse Source

Fix translation error for missing default role

Fixes: bug #1175165
Change-Id: Ic3e19b47c5449740bec189f2c3a2e803d22fb5dc
(cherry picked from commit 112b1e181d)
Imre Farkas 6 years ago
parent
commit
e68b7a8e9c
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      openstack_dashboard/dashboards/admin/projects/workflows.py

+ 2
- 2
openstack_dashboard/dashboards/admin/projects/workflows.py View File

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

Loading…
Cancel
Save