summaryrefslogtreecommitdiff
path: root/keystoneclient/access.py
diff options
context:
space:
mode:
authorBrant Knudson <bknudson@us.ibm.com>2014-10-27 10:54:48 -0500
committerJamie Lennox <jamielennox@redhat.com>2014-10-28 20:33:19 +0000
commitfece74ca3e56342bee43f561404c19128a613628 (patch)
tree7241c8dcb7f3176da3df660dbfb5006f9eb86fc1 /keystoneclient/access.py
parent3b766c51438396a0ab0032de309c9d56e275e0cb (diff)
downloadpython-keystoneclient-fece74ca3e56342bee43f561404c19128a613628.tar.gz
I18n
Keystoneclient didn't provide translated messages. With this change, the messages are marked for translation. DocImpact Implements: blueprint keystoneclient-i18n Change-Id: I85263a71671a1dffed524185266e6bb7ae559630
Diffstat (limited to 'keystoneclient/access.py')
-rw-r--r--keystoneclient/access.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/keystoneclient/access.py b/keystoneclient/access.py
index c7cd115..6786674 100644
--- a/keystoneclient/access.py
+++ b/keystoneclient/access.py
@@ -19,6 +19,7 @@ import datetime
from oslo.utils import timeutils
+from keystoneclient.i18n import _
from keystoneclient import service_catalog
@@ -63,7 +64,7 @@ class AccessInfo(dict):
else:
auth_ref = AccessInfoV2(**kwargs)
else:
- raise NotImplementedError('Unrecognized auth response')
+ raise NotImplementedError(_('Unrecognized auth response'))
else:
auth_ref = AccessInfoV2(**kwargs)