summaryrefslogtreecommitdiff
path: root/openstackclient/identity/v3/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/v3/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/v3/endpoint.py')
-rw-r--r--openstackclient/identity/v3/endpoint.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/openstackclient/identity/v3/endpoint.py b/openstackclient/identity/v3/endpoint.py
index 3cd5e086..93d77be3 100644
--- a/openstackclient/identity/v3/endpoint.py
+++ b/openstackclient/identity/v3/endpoint.py
@@ -68,7 +68,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)
@@ -101,7 +101,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
endpoint_id = utils.find_resource(identity_client.endpoints,
parsed_args.endpoint).id
@@ -115,7 +115,7 @@ class ListEndpoint(lister.Lister):
log = logging.getLogger(__name__ + '.ListEndpoint')
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
columns = ('ID', 'Region', 'Service Name', 'Service Type',
'Enabled', 'Interface', 'URL')
@@ -177,7 +177,7 @@ class SetEndpoint(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
endpoint = utils.find_resource(identity_client.endpoints,
parsed_args.endpoint)
@@ -214,7 +214,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
endpoint = utils.find_resource(identity_client.endpoints,
parsed_args.endpoint)