From 100e962bb989ea3adc8324365dd84f87634691ea Mon Sep 17 00:00:00 2001 From: Sabari Kumar Murugesan Date: Thu, 17 Oct 2013 12:35:36 -0700 Subject: [PATCH] VMware: Fix ValueError unsupported format character in log message Fixes a typo with format string in a log message. Closes-bug: #1240292 Change-Id: Ia86859089351255cb974ed77b0c5f55a5e953b0e --- nova/virt/vmwareapi/vim_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/virt/vmwareapi/vim_util.py b/nova/virt/vmwareapi/vim_util.py index 22f447d414..e0ab56f5aa 100644 --- a/nova/virt/vmwareapi/vim_util.py +++ b/nova/virt/vmwareapi/vim_util.py @@ -189,7 +189,7 @@ def get_dynamic_properties(vim, mobj, type, property_names): # The object may have information useful for logging if hasattr(obj_content.objects[0], 'missingSet'): for m in obj_content.objects[0].missingSet: - LOG.warning(_("Unable to retrieve value for %(path). " + LOG.warning(_("Unable to retrieve value for %(path)s " "Reason: %(reason)s"), {'path': m.path, 'reason': m.fault.localizedMessage})