summaryrefslogtreecommitdiff
path: root/heat_integrationtests/common/test.py
diff options
context:
space:
mode:
authorliyi <liyi8611@gmail.com>2017-03-21 12:17:51 +0800
committerliyi <liyi8611@gmail.com>2017-03-25 17:11:50 +0800
commit8f10215ffde82b9ba1e0da28c70078953b61a9c8 (patch)
tree79b2edced88d836ee95cc3625e9f8ef5d892096b /heat_integrationtests/common/test.py
parent34df3cd9150c56a4b8f6532ccfbff6859b947cf2 (diff)
downloadheat-8f10215ffde82b9ba1e0da28c70078953b61a9c8.tar.gz
Remove log translations
Log messages are no longer being translated. This removes all use of the _LE, _LI, and _LW translation markers to simplify logging and to avoid confusion with new contributions. See: http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html Change-Id: Ieec8028305099422e1b0f8fc84bc90c9ca6c694f
Diffstat (limited to 'heat_integrationtests/common/test.py')
-rw-r--r--heat_integrationtests/common/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/heat_integrationtests/common/test.py b/heat_integrationtests/common/test.py
index b422012f9..b1b381ef4 100644
--- a/heat_integrationtests/common/test.py
+++ b/heat_integrationtests/common/test.py
@@ -118,7 +118,7 @@ class HeatIntegrationTest(testscenarios.WithScenarios,
try:
linux_client.validate_authentication()
except exceptions.SSHTimeout:
- LOG.exception('ssh connection to %s failed' % ip)
+ LOG.exception('ssh connection to %s failed', ip)
raise
return linux_client
@@ -637,7 +637,7 @@ class HeatIntegrationTest(testscenarios.WithScenarios,
rsrc_events = self.client.events.list(stack_identifier,
resource_name=rsrc_name)
except heat_exceptions.HTTPNotFound:
- LOG.debug("No events yet found for %s" % rsrc_name)
+ LOG.debug("No events yet found for %s", rsrc_name)
else:
matched = [e for e in rsrc_events
if e.resource_status_reason == reason]