diff options
author | Arthur Miranda <artmr@lsd.ufcg.edu.br> | 2016-10-21 12:18:23 -0300 |
---|---|---|
committer | Arthur Miranda <artmr@lsd.ufcg.edu.br> | 2016-10-21 14:00:46 -0300 |
commit | 316058d314d8f63e913d11b073498ca6283b728b (patch) | |
tree | ef9152468913450bb4834968aaec07f0bcf6cdb9 /keystoneclient/v3 | |
parent | 0f7b2436155ad3f37284ffc42ae482c93331a59a (diff) | |
download | python-keystoneclient-316058d314d8f63e913d11b073498ca6283b728b.tar.gz |
Increase readability of 'find()' method and small improvements
Assigments replaced with argument assigment: endpoints.py, service_catalog.py
Note added: 'original_ip' value is never used: session.py
Refactor 'find()' method to increase readability: base.py
Change-Id: I469331b123fdf03e9e7c5d93e1c95da57d30fbbe
Diffstat (limited to 'keystoneclient/v3')
-rw-r--r-- | keystoneclient/v3/endpoints.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keystoneclient/v3/endpoints.py b/keystoneclient/v3/endpoints.py index b960c3e..bc8ccb6 100644 --- a/keystoneclient/v3/endpoints.py +++ b/keystoneclient/v3/endpoints.py @@ -51,7 +51,7 @@ class EndpointManager(base.CrudManager): def _validate_interface(self, interface): if interface is not None and interface not in VALID_INTERFACES: msg = _('"interface" must be one of: %s') - msg = msg % ', '.join(VALID_INTERFACES) + msg %= ', '.join(VALID_INTERFACES) raise exceptions.ValidationError(msg) @positional(1, enforcement=positional.WARN) |