From ea7e9f1da1aec870513fc14b51942037885e4492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Fri, 13 Nov 2015 21:41:17 +0100 Subject: [PATCH] [fix] Correct global object name --- moulinette/authenticators/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moulinette/authenticators/__init__.py b/moulinette/authenticators/__init__.py index 9953438c..f607c6fb 100644 --- a/moulinette/authenticators/__init__.py +++ b/moulinette/authenticators/__init__.py @@ -151,7 +151,7 @@ class BaseAuthenticator(object): except IOError: logger.debug("unable to retrieve session", exc_info=1) raise MoulinetteError(errno.ENOENT, - m18r.g('unable_retrieve_session')) + m18n.g('unable_retrieve_session')) else: gpg = gnupg.GPG() gpg.encoding = 'utf-8' @@ -161,5 +161,5 @@ class BaseAuthenticator(object): logger.error("unable to decrypt password for the session: %s", decrypted.status) raise MoulinetteError(errno.EINVAL, - m18r.g('unable_retrieve_session')) + m18n.g('unable_retrieve_session')) return decrypted.data