From 17647e0a212e4db2851cdfb0f3fd05bbf46ac034 Mon Sep 17 00:00:00 2001 From: Chris Yeoh Date: Tue, 28 May 2013 22:50:49 +0930 Subject: Fix internationalization for some LOG messages Fixes a couple of LOG messages to support internationalisation Change-Id: Ifba6beb6a33e3969522776114a69def9eaa5262b --- nova/api/openstack/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nova/api/openstack/__init__.py b/nova/api/openstack/__init__.py index 113354d04..553bdbfaf 100644 --- a/nova/api/openstack/__init__.py +++ b/nova/api/openstack/__init__.py @@ -270,7 +270,7 @@ class APIRouterV3(base_wsgi.Router): """ handler = ext.obj - LOG.debug("Running _register_resources on %s", ext.obj) + LOG.debug(_("Running _register_resources on %s"), ext.obj) for resource in handler.get_resources(): LOG.debug(_('Extended resource: %s'), resource.collection) @@ -312,7 +312,7 @@ class APIRouterV3(base_wsgi.Router): """ handler = ext.obj - LOG.debug("Running _register_controllers on %s", ext.obj) + LOG.debug(_("Running _register_controllers on %s"), ext.obj) for extension in handler.get_controller_extensions(): ext_name = extension.extension.name -- cgit