commit | 09461f75d15f4cf051d07e6a8f5518dd6e6919a3 | [log] [tgz] |
---|---|---|
author | liyi <liyi8611@gmail.com> | Tue Mar 21 12:17:51 2017 +0800 |
committer | liyi <liyi8611@gmail.com> | Sat Mar 25 17:11:50 2017 +0800 |
tree | 5c5de9a5b5de64f1d56b3f971241c351c2b3c08c | |
parent | 1f50469e0345206b3f948ca9b5a05076fbb1ff9c [diff] [blame] |
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
diff --git a/common/test.py b/common/test.py index b422012..b1b381e 100644 --- a/common/test.py +++ b/common/test.py
@@ -118,7 +118,7 @@ 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 @@ 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]