summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Yeoh <cyeoh@au1.ibm.com>2013-05-28 22:50:49 +0930
committerChris Yeoh <cyeoh@au1.ibm.com>2013-05-28 22:50:49 +0930
commit17647e0a212e4db2851cdfb0f3fd05bbf46ac034 (patch)
tree1148297f39c9481eb8515d4a78c6158440470ac2
parentd7da449eef09d6d86d10ffc354e614b58b08d1ce (diff)
downloadnova-17647e0a212e4db2851cdfb0f3fd05bbf46ac034.tar.gz
nova-17647e0a212e4db2851cdfb0f3fd05bbf46ac034.tar.xz
nova-17647e0a212e4db2851cdfb0f3fd05bbf46ac034.zip
Fix internationalization for some LOG messages
Fixes a couple of LOG messages to support internationalisation Change-Id: Ifba6beb6a33e3969522776114a69def9eaa5262b
-rw-r--r--nova/api/openstack/__init__.py4
1 files 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