resolve keyerror for string format
Closes-Bug: #2035073 Change-Id: I44cfb3fa95314974df2c8d897e5a527f47be02b5
This commit is contained in:
parent
51c06d55f1
commit
2ca2978232
|
@ -134,7 +134,7 @@ class DeleteAttribute(command.Command):
|
|||
raise exc.CommandError(_('Attribute %s not found') % uuid)
|
||||
except exc.ClientException as e:
|
||||
failures.append(_("Failed to delete attribute \
|
||||
%(attribute)s: %(error)s")
|
||||
%(uuid)s: %(error)s")
|
||||
% {'uuid': uuid, 'error': e})
|
||||
if failures:
|
||||
raise exc.ClientException("\n".join(failures))
|
||||
|
|
Loading…
Reference in New Issue