From 457ee7306e73e34e7fb0cbc5e3bf7421c20bc2c5 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 10 Jun 2015 16:00:25 -0400 Subject: [PATCH] Parenthesis fix on the JWT auth error message --- util/config/validator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/config/validator.py b/util/config/validator.py index 1fda3e911..6a09a1609 100644 --- a/util/config/validator.py +++ b/util/config/validator.py @@ -331,8 +331,8 @@ def _validate_jwt(config): username = get_authenticated_user().username result = users.user_exists(username) if not result: - raise Exception('Verification of superuser %s failed. The user either does not exist ' + - 'in the remote authentication system OR JWT auth is misconfigured.' % username) + raise Exception(('Verification of superuser %s failed. The user either does not exist ' + + 'in the remote authentication system OR JWT auth is misconfigured.') % username) _VALIDATORS = {