Fix string interpolation to delayed by logging
String interpolation should be delayed to be handled by the logging code, rather than being done at the point of the logging call. See the oslo i18n guideline. * http://docs.openstack.org/developer/oslo.i18n/guidelines.html References: https://review.openstack.org/#/c/339268 Change-Id: Ie4ea466f951db796fd85277c52be40018dfb01ac Closes-Bug:#1596829
This commit is contained in:
@@ -134,8 +134,8 @@ class MuranoPackage(murano_package.MuranoPackage):
|
||||
"ignored") %
|
||||
dict(class_name=class_name,
|
||||
name=getattr(clazz, "_murano_class_name")))
|
||||
LOG.debug("Registering '%s' from '%s' in class loader"
|
||||
% (class_name, package_definition.name))
|
||||
LOG.debug("Registering '%s' from '%s' in class loader",
|
||||
class_name, package_definition.name)
|
||||
self.register_class(clazz, class_name)
|
||||
|
||||
def get_resource(self, name):
|
||||
|
||||
Reference in New Issue
Block a user