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
This commit is contained in:
Sabari Kumar Murugesan
2013-10-17 12:35:36 -07:00
parent 1c7d0023c9
commit 100e962bb9

View File

@@ -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})