From: Sergey Vilgelm Date: Sat, 12 Sep 2015 18:55:01 +0000 (+0300) Subject: Fix missing value types for log message X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=57b6a651a39099ea76178bdcea51b06bde587e25;p=openstack-build%2Fneutron-build.git Fix missing value types for log message This patch add missing value types for some log message of exception. Change-Id: Ie9f512bc804f0cd70df991b1910c975a2f9d6fcf Closes-Bug: #1494574 --- diff --git a/neutron/db/l3_db.py b/neutron/db/l3_db.py index 60ab661b9..7a14b2b68 100644 --- a/neutron/db/l3_db.py +++ b/neutron/db/l3_db.py @@ -855,7 +855,7 @@ class L3_NAT_dbonly_mixin(l3.RouterPluginBase): if 'id' in fip: data = {'floatingip_id': fip['id'], 'internal_ip': internal_ip_address} - msg = (_('Floating IP %(floatingip_id) is associated ' + msg = (_('Floating IP %(floatingip_id)s is associated ' 'with non-IPv4 address %s(internal_ip)s and ' 'therefore cannot be bound.') % data) else: diff --git a/neutron/tests/tempest/exceptions.py b/neutron/tests/tempest/exceptions.py index 09f701683..db66bba20 100644 --- a/neutron/tests/tempest/exceptions.py +++ b/neutron/tests/tempest/exceptions.py @@ -64,7 +64,7 @@ class InvalidServiceTag(TempestException): class InvalidIdentityVersion(TempestException): - message = "Invalid version %(identity_version) of the identity service" + message = "Invalid version %(identity_version)s of the identity service" class TimeoutException(TempestException):