diff options
author | Brant Knudson <bknudson@us.ibm.com> | 2014-10-27 10:54:48 -0500 |
---|---|---|
committer | Jamie Lennox <jamielennox@redhat.com> | 2014-10-28 20:33:19 +0000 |
commit | fece74ca3e56342bee43f561404c19128a613628 (patch) | |
tree | 7241c8dcb7f3176da3df660dbfb5006f9eb86fc1 /keystoneclient/access.py | |
parent | 3b766c51438396a0ab0032de309c9d56e275e0cb (diff) | |
download | python-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.py | 3 |
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) |