cli: Clarify a translation string

This commit is contained in:
Cole Robinson 2014-02-03 11:21:16 -05:00
parent 0654784643
commit 156a2a1dcb
1 changed files with 5 additions and 2 deletions

View File

@ -1032,8 +1032,11 @@ class _VirtCLIArgument(object):
return
if lookup and not self.attrname:
raise RuntimeError(_("Don't know how to match %s property %s") %
(getattr(inst, "virtual_device_type", ""), self.cliname))
raise RuntimeError(
_("Don't know how to match %(device_type)s "
"property %(property_name)s") %
{"device_type": getattr(inst, "virtual_device_type", ""),
"property_name": self.cliname})
try:
if self.attrname: