diff --git a/keystoneauth1/identity/v3/base.py b/keystoneauth1/identity/v3/base.py index d87c409c..06675ba7 100644 --- a/keystoneauth1/identity/v3/base.py +++ b/keystoneauth1/identity/v3/base.py @@ -135,8 +135,9 @@ class Auth(BaseAuth): if sum(mutual_exclusion) > 1: raise exceptions.AuthorizationFailure( - 'Authentication cannot be scoped to multiple targets. Pick ' - 'one of: project, domain, trust or unscoped') + message='Authentication cannot be scoped to multiple' + ' targets. Pick one of: project, domain, ' + 'trust or unscoped') if self.domain_id: body['auth']['scope'] = {'domain': {'id': self.domain_id}}