diff options
| author | Tang Chen <chen.tang@easystack.cn> | 2016-06-05 10:58:48 +0800 |
|---|---|---|
| committer | Tang Chen <chen.tang@easystack.cn> | 2016-06-07 09:37:02 +0800 |
| commit | 5293bb103e75542d9defb9d0d5ed3c144f0657fe (patch) | |
| tree | 8db584eae21ca4dfb38c87d6aec54bf052bb7860 /openstackclient/identity/v2_0/user.py | |
| parent | dd0fe3d94ee6967c42c48be5181a2901b691a40c (diff) | |
| download | python-openstackclient-5293bb103e75542d9defb9d0d5ed3c144f0657fe.tar.gz | |
Fix i18n support problems in identity
Change-Id: I3b48d17850343051239b5b69e8b890dba32d3ac8
Partial-bug: #1574965
Diffstat (limited to 'openstackclient/identity/v2_0/user.py')
| -rw-r--r-- | openstackclient/identity/v2_0/user.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openstackclient/identity/v2_0/user.py b/openstackclient/identity/v2_0/user.py index bc9bf837..f8f5df29 100644 --- a/openstackclient/identity/v2_0/user.py +++ b/openstackclient/identity/v2_0/user.py @@ -104,7 +104,7 @@ class CreateUser(command.ShowOne): identity_client.users, parsed_args.name, ) - self.log.info('Returning existing user %s', user.name) + self.log.info(_('Returning existing user %s'), user.name) else: raise e @@ -159,7 +159,8 @@ class ListUser(command.Lister): '--long', action='store_true', default=False, - help=_('List additional fields in output')) + help=_('List additional fields in output'), + ) return parser def take_action(self, parsed_args): |
