summaryrefslogtreecommitdiff
path: root/openstackclient/identity/v2_0/endpoint.py
diff options
context:
space:
mode:
authorChristian Berendt <berendt@b1-systems.de>2014-05-20 13:11:19 +0200
committerChristian Berendt <berendt@b1-systems.de>2014-05-20 13:49:56 +0200
commit3b485de6b0495d1e9f6d659463a187d73a783594 (patch)
tree9edd5a76451b0b32682d7761e2b0189036db26f9 /openstackclient/identity/v2_0/endpoint.py
parent870e7ddbcce5d5f1b1bd36bb3ad95665565b3ced (diff)
downloadpython-openstackclient-3b485de6b0495d1e9f6d659463a187d73a783594.tar.gz
replace string format arguments with function parameters
There are files containing string format arguments inside logging messages. Using logging function parameters should be preferred. Change-Id: Ic749ac9eb55564ed631d57055a5a4dfc3aebd169
Diffstat (limited to 'openstackclient/identity/v2_0/endpoint.py')
-rw-r--r--openstackclient/identity/v2_0/endpoint.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/openstackclient/identity/v2_0/endpoint.py b/openstackclient/identity/v2_0/endpoint.py
index 4ee1636f..36f52cad 100644
--- a/openstackclient/identity/v2_0/endpoint.py
+++ b/openstackclient/identity/v2_0/endpoint.py
@@ -57,7 +57,7 @@ class CreateEndpoint(show.ShowOne):
return parser
def take_action(self, parsed_args):
- self.log.debug('take_action(%s)' % parsed_args)
+ self.log.debug('take_action(%s)', parsed_args)
identity_client = self.app.client_manager.identity
service = common.find_service(identity_client, parsed_args.service)
endpoint = identity_client.endpoints.create(
@@ -88,7 +88,7 @@ class DeleteEndpoint(command.Command):
return parser
def take_action(self, parsed_args):
- self.log.debug('take_action(%s)' % parsed_args)
+ self.log.debug('take_action(%s)', parsed_args)
identity_client = self.app.client_manager.identity
identity_client.endpoints.delete(parsed_args.endpoint)
return
@@ -109,7 +109,7 @@ class ListEndpoint(lister.Lister):
return parser
def take_action(self, parsed_args):
- self.log.debug('take_action(%s)' % parsed_args)
+ self.log.debug('take_action(%s)', parsed_args)
identity_client = self.app.client_manager.identity
if parsed_args.long:
columns = ('ID', 'Region', 'Service Name', 'Service Type',
@@ -143,7 +143,7 @@ class ShowEndpoint(show.ShowOne):
return parser
def take_action(self, parsed_args):
- self.log.debug('take_action(%s)' % parsed_args)
+ self.log.debug('take_action(%s)', parsed_args)
identity_client = self.app.client_manager.identity
data = identity_client.endpoints.list()
match = None